[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: environment variables for eclipse.ini

Hello David,

thank you for your answer.

David Williams wrote:
Lars Fischer wrote:
I would like to use windows environment variables values as parameters in the eclipse.ini. E.g. JAVA_HOME with the path to the JDK for "-vm %JAVA_HOME%\bin\javaw.exe"

I tried the above, but it does not work. Is there an other way how I can solve this?


I don't believe so, since I couldn't find it documented anywhere, and tried a few tests myself.


But just in case you are asking "how do I get the VM at JAVA_HOME used, then that part should be automatically found by the launcher.

JAVA_HOME is only one exmple for a configuration parameter.

I would like to define multiple settings which can differ on several computers and prepare ONE eclipse installation deployed to this computers to use the environment settings on startup. But it looks like this is not possible.

Regards,
Lars