• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBuilder Installation and JDK Clash

 
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 4982
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might ask this again at:
https://coderanch.com/forums/f-12/vc
for better help on IDE issues.

Nick
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Jas Oberai
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 231
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Joreon,
Can you just recheck this,after I made changes to them as per your guidelines:

Cheers!!
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to IDEs...
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic