This week's book giveaway is in the Testing forum.
We're giving away four copies of Practical Unit Testing with TestNG and Mockito and have Tomek Kaczanowski on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse JVM Question Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Eclipse JVM Question" Watch "Eclipse JVM Question" New topic
Author

Eclipse JVM Question

Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
It appears that Eclipse uses the PATH environment variable to locate the JVM into which it loads itself.
I have several JVM's on my machine and would like to remove this dependency.
Is there a switch (like the -data switch) to point to a specific JVM directory on my pc?
On the same subject, does anyone know of a list of all the switches available for the Eclipse executable on Windows?
Dave.
Dan Kehn
Dastardly Dan the Author
Ranch Hand

Joined: Jun 11, 2003
Posts: 120
Eclipse looks in the jre directory first. The -vm option overrides all others. Most of the options are documented in the Workbench Users Guide under Running Eclipse.
-- Dan


Co-author of <a href="http://www.jdg2e.com" target="_blank" rel="nofollow">The Java Developer's Guide to Eclipse</a>, 2nd Edition<br />(Yahoo group <a href="http://groups.yahoo.com/group/JDG2E/" target="_blank" rel="nofollow">JDG2E</a>)
Dave Hewy
Ranch Hand

Joined: Aug 21, 2003
Posts: 93
Cheers Dan
that's just what I was looking for.
Dave
 
 
subject: Eclipse JVM Question
 
Threads others viewed
eclise problem
nullpointer exception while trying to connect
Best Commercial IDE
Cannot see J2EE perspective in eclipse
Eclipse Error JVM Terminated Exit code = 2
IntelliJ Java IDE