Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Specify multiple paths for JVM in ini file?
Specify multiple paths for JVM in ini file? [message #536396] Fri, 28 May 2010 01:11 Go to next message
Ken is currently offline KenFriend
Messages: 36
Registered: July 2009
Member
In my product ini file I can set the vm for it to use; something like:

-vm
.../jre/bin
-vmargs
-Xms256m
-Xmx512m

Works fine. This looks for the jre one folder up. Is there a way to have it
search multiple paths? I tried:

(newline)
-vm
.../jre/bin
../jre/bin

(comma)
-vm
.../jre/bin, ./jre/bin

(semi-colon)
-vm
.../jre/bin; ./jre/bin

(space)
-vm
.../jre/bin ./jre/bin

(two vm flags - just uses the last)
-vm
.../jre/bin
-vm
../jre/bin

Anyone else have any ideas?

- Ken
Re: Specify multiple paths for JVM in ini file? [message #536542 is a reply to message #536396] Fri, 28 May 2010 15:43 Go to previous message
Andrew Niefer is currently offline Andrew NieferFriend
Messages: 990
Registered: July 2009
Senior Member
Sorry, the launcher does not support anything like this.
The best I could think of would be to write a script that does the searching
and then executes the vm.

Or, modify the system path environment variable before launching and don't
specify -vm. (Though eclipse/jre will be checked before the system path).

-Andrew

Ken Prole wrote:

> In my product ini file I can set the vm for it to use; something like:
>
> -vm
> ../jre/bin
> -vmargs
> -Xms256m
> -Xmx512m
>
> Works fine. This looks for the jre one folder up. Is there a way to have
> it search multiple paths? I tried:
>
> (newline)
> -vm
> ../jre/bin
> ./jre/bin
>
> (comma)
> -vm
> ../jre/bin, ./jre/bin
>
> (semi-colon)
> -vm
> ../jre/bin; ./jre/bin
>
> (space)
> -vm
> ../jre/bin ./jre/bin
>
> (two vm flags - just uses the last)
> -vm
> ../jre/bin
> -vm
> ./jre/bin
>
> Anyone else have any ideas?
>
> - Ken
Previous Topic:non-scrolling form anywhere?
Next Topic:RCP application configuration files
Goto Forum:
  


Current Time: Thu Apr 25 10:23:08 GMT 2024

Powered by FUDForum. Page generated in 0.03403 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top