wood burning stoves
The moose likes Java in General and the fly likes Jav Virtual Machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jav Virtual Machine" Watch "Jav Virtual Machine" New topic

Jav Virtual Machine

Paul Keohan
Ranch Hand

Joined: Mar 15, 2000
Posts: 411
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?
Mark Savory
Ranch Hand

Joined: Feb 08, 2001
Posts: 122
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

Joined: Mar 15, 2000
Posts: 411
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.
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
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.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link: http://aspose.com/file-tools
subject: Jav Virtual Machine
It's not a secret anymore!