• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Jav Virtual Machine

 
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How do I set my system to use a certain JVM? I have an IDE installed that insists on everything looking at its JVM but I want the system to look at my C:\jdk1.3 VM.
Can anyone tell me a command or something I need to run?
Thanks.
Paul
 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your IDE should allow you to set which JDK to use. I'm using JBuilder 3.5 and the JDK version can be set in the project properties dialog. Note that a IDE does not affect which JDK your "System" uses.
 
Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm actually trying to install something else shich defaults to a JVM. I want it to default to my C:\jdk1.3 VM but it keeps defaulting to a C:\jbuilder\jdk1.3 VM - even though I've set up jbuilder to use C:\jdk1.3. It's like something in the background insists on useing my C:\jbuilder\jdk1.3 stuff. How do I stop this from happening? There doesn't seem to be anything to uninstall the version of jbuilder I have. It's the free download version.
Thanks for your response.
Paul
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check your system PATH variable - on NT at least you get this by going to Start -> Settings -> Control Panel -> System -> Environment, and look for "PATH". Make sure that C:\jdk1.3 comes before C:\jbuilder\jdk1.3 in the path (or just delete the latter entirely from the path). Alternately, rename the folder C:\jbuilder\jdk1.3 to something else (renaming is safer than deleting, as it's reversible) - there shouldn't be anything in there that isn't duplicated in C:\jdk1.3. If you get error message after doing this, the meaages may give you a clue about what parts of your system are still pointing to C:\jbuilder\jdk1.3. Good luck.
 
Why should I lose weight? They make bigger overalls. And they sure don't make overalls for tiny ads:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic