File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes JBuilder Installation and JDK Clash Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JBuilder Installation and JDK Clash" Watch "JBuilder Installation and JDK Clash" New topic
Author

JBuilder Installation and JDK Clash

Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Hi Friends,
I had JDK 1.5 installed,and everything was working fine till i installed JBuilder2005,and now when i try to run my programs they thow this error:

I uninstalled it,and they started working fine ..now I again installed it and they stopped even after deleting the registry values set by Jbuilder and confuguring JDK settings in jBuilder.Please help me Guys.


SCJP 1.4 (88%)<br />SCWCD 1.4 (88%)
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
You might ask this again at:
http://www.coderanch.com/forums/f-12/vc
for better help on IDE issues.

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Just change the default JVM back to your 1.5 installation.
I normally hack such changes directly into the registry, but the Java control panel applet may work as well.


42
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Thanks friends,
Making changes to the registry worked..i just changed the current verison to 1.5 from 1.4 and deleted the 1.4 entries.
Cheers!!!
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
You should have kept the 1.4 entries. They're harmless and allow switching your default JVM to a 1.4 if needed for testing

Good to see JB still works without them though
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Thanks ....but I have deleted them now.I have one more question to ask here friends.Now when I compile my programs in JBuilder...it's using JDK1.4.Even though,i have configured tools->JDK->settings to JDK1.5.Please tell me how can i make my programs be compiled using JDK1.5 from inside JBuilder.
Jeroen Wenting
Ranch Hand

Joined: Oct 12, 2000
Posts: 5093
Just tell JBuilder to compile against 1.5.

Project->Project Properties->JDK
Click Add... to add the 1.5 JDK if it's not already there and follow the instructions.
Then just select that JDK to be used for the project.

You will also want to set up the project to actually use the new language features under Build->Java->Language Features and Build->Java->Target VM in the project properties dialog.

P.S. if you do this for the default project properties all new projects will be set up for 1.5 automatically
[ April 08, 2005: Message edited by: Jeroen Wenting ]
Jas Oberai
Ranch Hand

Joined: Jan 16, 2005
Posts: 231
Thanks Joreon,
Can you just recheck this,after I made changes to them as per your guidelines:

Cheers!!
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
Moving to IDEs...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JBuilder Installation and JDK Clash
 
Similar Threads
Runtime error
how to run in JDK 1.5.1
Help Required.
Not able to run java.exe from command prompt!
Java version problem