• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

How to change jvm in my PC ?

 
Greenhorn
Posts: 1
  • 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
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • 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.
 
Greenhorn
Posts: 9
  • 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...
 
Ranch Hand
Posts: 3061
  • 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
 
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic