Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-09-03
5
Medium Priority
?
1,663 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 300 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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

972 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