Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java array passed to SQL where clause 23 64
oracle 11g 23 50
How to convert String matching to regex in java 4 21
type mismatch (Object[] to double[] 4 10
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:
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.

896 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

11 Experts available now in Live!

Get 1:1 Help Now