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
Joined: Feb 08, 2001
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.
Joined: Mar 15, 2000
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
Joined: Jan 30, 2000
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.