Solved

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

Posted on 2004-09-03
5
1,616 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.

760 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now