Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forumsmaking eclipse follow the java_home variable
https://www.eclipse.org/forums/index.php/mv/msg/172321/548226/#msg_548226
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
I could set the -vm path in the eclipse.ini file to just point to the correct JDK, however I am preparing a package that will be used by several persons on different computers.
Thus I would like to set -vm to follow the JAVA_HOME environment varible instead. How do I do this?]]>No real name2010-07-21T07:46:20-00:00Re: making eclipse follow the java_home variable
https://www.eclipse.org/forums/index.php/mv/msg/172321/548352/#msg_548352
henrik.sjostrom@scila.se wrote:
> I get a warning message when starting eclipse
>
> Eclipse is running in a JRE, but a JDK is required
> Some Maven plugins may not work when importing projects or updating
> source folders.
>
> I could set the -vm path in the eclipse.ini file to just point to the
> correct JDK, however I am preparing a package that will be used by
> several persons on different computers.
> Thus I would like to set -vm to follow the JAVA_HOME environment varible
> instead. How do I do this?
The good news is that you can include the JDK in the package that you're
preparing. If you create a directory <eclipse-home>/jre and put the JDK
in there, Eclipse will use that by default.
Hope this helps,
Eric]]>Eric Rizzo2010-07-21T14:16:37-00:00Re: making eclipse follow the java_home variable
https://www.eclipse.org/forums/index.php/mv/msg/172321/548781/#msg_548781
this may be unrelated, but instead of sticking the JDK into a directory named JRE, i just changed my JRE installed directory location to point to my JDK, and it worked. ]]>Nilesh2010-07-22T23:58:27-00:00Re: making eclipse follow the java_home variable
https://www.eclipse.org/forums/index.php/mv/msg/172321/549355/#msg_549355
No real name2010-07-26T14:01:59-00:00