File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes How to change jvm in my PC ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to change jvm in my PC ?" Watch "How to change jvm in my PC ?" New topic

How to change jvm in my PC ?

Murali Gandhimani

Joined: Oct 17, 2005
Posts: 1
I used to have JBuilder on my PC and my system was using the jvm under it ( C:\JBuilderX\jdk1.4\jre\lib\i386\jvm.cfg ). Lately i deleted this directory and using jdk from 'BEA' ( which is installed under C:\bea\jdk141_02 ) and want my system to start using the jvm under BEA and not under JBUILDER. Can anyone show me how i can switch the jvm in my PC ?

The BEA jvm is under C:\bea\jdk141_02\jre\lib\i386\jvm.cfg.

Murali G
Sonny Gill
Ranch Hand

Joined: Feb 02, 2002
Posts: 1211

You probabely need to set the value of environment variable JAVA_HOME to the new location.
Suhayeb Jaabo

Joined: Feb 23, 2003
Posts: 9
I think you could use Java_Home system property or using Operating system platform system registry...
As an example: for Windows operating system you could change JavaSoft Registry Group through the following steps:
1. Start->Run
2. type regedit.exe
3. click on Edit Menu
4. Choose Find
5. search for "JavaSoft"
You will find all java virtual machine prperties...

Best regards,<br />Suhayeb Jaabo
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
In Windows, you should typically use the Add/Remove Programs option in the Control Panel rather than just deleting a directory. In theory, this will cleanup the Windows registry so you don't have to do it manually.


Java API Documentation
The Java Tutorial
I agree. Here's the link:
subject: How to change jvm in my PC ?
It's not a secret anymore!