[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.rcp] Starting RCP app with specified vm w/o hard-coded path
|
- From: Daniel Krügler <dsp@xxxxxxx>
- Date: Mon, 06 Oct 2008 10:28:27 +0200
- Newsgroups: eclipse.platform.rcp
- Organization: EclipseCorner
- User-agent: Thunderbird 2.0.0.17 (Windows/20080914)
Hello,
I would like to control the startup of my RCP app to
use a specified Java vm, therefore the -vm runtime option
seems appropriate. Problem is: A priori it is unknown,
*which* absolute or relative path the wanted java vm will
have (because that depends on the actual installation),
but it seems that the -vm parameter does not accept a
specified environment variable (which could be set by the
installation) - is that assertion correct?
As a last fall back the install program could manipulate my
rcp.ini file, but I would like to find an approach that
could take advantage of an environment variable.
According to the docs, since 3.3x a so-called .ee file
could be provided as -vm value. Could this file use
environment variables? The documentation in
http://wiki.eclipse.org/index.php/Execution_Environment_Descriptions
seems not clear on this point. Btw.: Is it correct, that
by specifying such a .ee file the *required* parameters
are really *all* of
ee.executable
ee.executable.console
ee.vm.library
ee.library.path
?
Thanks,
Daniel