Solved

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

Posted on 2004-09-03
5
1,636 Views
Last Modified: 2013-11-23
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
Comment
Question by:Trooper80
  • 4
5 Comments
 
LVL 35

Expert Comment

by:TimYates
ID: 11971597
You can't (I don't think)

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

Tim
0
 
LVL 35

Expert Comment

by:TimYates
ID: 11971616
Actually...there is this you can try:

http://cc.borland.com/codecentral/ccweb.exe/listing?id=21447
0
 
LVL 1

Author Comment

by:Trooper80
ID: 11971670
Hey man I have just asked my question and u got an answer? Who r u superman?
0
 
LVL 35

Expert Comment

by:TimYates
ID: 11971965
;-)

hehehe
0
 
LVL 35

Accepted Solution

by:
TimYates earned 75 total points
ID: 11972351
Did that OpenTool work?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question