|Re: environment variables for eclipse.ini [message #486427 is a reply to message #486377]
||Thu, 17 September 2009 11:15
Originally posted by: wegener.cboenospam.com|
You could write a shell script/batch file to get this to work. The vm
parameter can be specified on the command line. Create a script file which
calls eclipse with a command line parameter of -vm
"%JAVA_HOME%\bin\javaw.exe". Then use the script file to run eclipse.
"Lars Fischer" <firstname.lastname@example.org> wrote in message
> 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.
Powered by FUDForum
. Page generated in 0.01622 seconds