How to configure JBuilder X Enterprise with the new Java SDK 5.0?
Posted on 2004-09-03
I tried to compile an existing small applicaiton of mine that demonstrates the look and feel and I got this error javac
"Application1.java": E:\Documents and Settings\The Trooper\jbproject\LookAndFeelTestExample\src\lookandfeeltestexample\Application1.java:3: cannot access javax.swing.UIManager,bad class file: E:\Program Files\Java\jdk1.5.0\jre\lib\rt.jar(javax/swing/UIManager.class),class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath. at line 3
Error in javac compilation
which seems to be witht he UIManager version. I set the project to be compiled with the javac but I suppose it uses the 1.4 javac command instead of the javac 5.0 I have in my system's enviromental path
How can I set my projects to be compiled with the new Java 1.5 SDK. Note that I have already set the path in my projects properties to the Java 5.0 SDK.
Can something be done or should I wait for the JBuilder 2005 to come up? Thank you