|What does the "-vm" option value need to be exactly? [message #1834721]
||Mon, 16 November 2020 19:58
| David M. Karr
Registered: July 2009
For the longest time, because I believe I read it somewhere, the value provided for the "-vm" option in the "eclipse.ini" file should end with "bin", or simply the directory that contains the "javaw" executable. I've been configuring Eclipse distributions like this for a long time, and it has always worked, resulting in the Java distribution at that location being used to run Eclipse.|
However, I just noticed the information at this page: https://wiki.eclipse.org/Eclipse.ini .
The value must be the full absolute or relative path to the Java executable, not just to the Java home directory.
In the sample below this, it uses an example of "C:\Java\JDK\1.8\bin\javaw.exe".
Clearly, the Eclipse documentation conflicts with what I thought.
In reality, I believe that this value can end with the directory containing "javaw", or ending with "javaw", and either will work. I've just determined this with experimentation.
Was it intended for both of these approaches to work?
Powered by FUDForum
. Page generated in 0.02302 seconds