Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1667
  • Last Modified:

How to configure JBuilder X Enterprise with the new Java SDK 5.0?

I tried to compile an existing small applicaiton of mine that demonstrates the look and feel and I got this error javac
   StdErr
      "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
      import javax.swing.UIManager;
                         ^
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
0
Trooper80
Asked:
Trooper80
  • 4
1 Solution
 
TimYatesCommented:
You can't (I don't think)

JBuilder 2005 (the next version) has support for java 1.5, JBuilder X doesn't...

Tim
0
 
TimYatesCommented:
Actually...there is this you can try:

http://cc.borland.com/codecentral/ccweb.exe/listing?id=21447
0
 
Trooper80Author Commented:
Hey man I have just asked my question and u got an answer? Who r u superman?
0
 
TimYatesCommented:
;-)

hehehe
0
 
TimYatesCommented:
Did that OpenTool work?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now