|
|
I'm trying to create a GUI with the Designer, and my GUI uses JDK 1.4's new logging api. When I try to open the GUI in the designer, I get a class java.lang.SecurityException Prohibited package name: java.util.logging exception. |
| Gillmer Derge of TeamB writes:
You can compile and run against 1.4, but the Designer has a number of issues with 1.4, because JBuilder itself runs on a 1.3 VM. One of them is that if your classes use the new logging API's (or any other new java.* packages, I suspect), the 1.3 VM will throw a security exception, because you aren't allowed to load new classes under the java.* hierarchy. You might be able to fix it using the proxy class technique described in the release notes under "Red Beans," but I suspect that you'll need to temporarily remove any references to the logging package if you want the Designer to run.
You could also try temporarily changing JBuilder's own VM to 1.4, but that
causes other problems (especially with the debugger) that are probably
worse.
| |
| [Append to This Answer] | |
| 2002-Apr-03 9:30am |
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||