File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to change jvm in my PC ?

 
Murali Gandhimani
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.

Thanks,
Murali G
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probabely need to set the value of environment variable JAVA_HOME to the new location.
 
Suhayeb Jaabo
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Layne Lund
Ranch Hand
Posts: 3061
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Layne
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic