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

How to change jvm in my PC ?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You probabely need to set the value of environment variable JAVA_HOME to the new location.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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'd appreciate it if you pronounced my name correctly. Pinhead, with a silent "H". Petite ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic