Mario Charest
09/02/2009 9:24 AM
post37118
|
I just rename the jre directory jre.bak
> -----Original Message-----
> From: Rick Rogers [mailto:community-noreply@qnx.com]
> Sent: Wednesday, September 02, 2009 9:24 AM
> To: general-ide
> Subject: Re: gforge plugin
>
> thanks.
>
> dumb question though- how do I run Momentics with a different java vm?
> I am aware of how to do this with standard eclipse, but isn't the jre
> packaged with qde?
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post37117
>
|
|
|
Christian Damus(deleted)
09/02/2009 9:39 AM
post37122
|
Hi, Roger,
You can add a -vm argument to the qde command-line, thus:
qde -vm /path/to/jre/bin/java
on Windows it would be:
qde.exe -vm C:\path\to\jre\bin\javaw.exe
Or, in the qde.ini file, add these lines *before* the "-vmargs" line
-vm
/path/to/jre/bin/java
on Windows:
-vm
C:\path\to\jre\bin\javaw.exe
Basically, it's the same as you would do on the command-line, except
that each argument is on a separate line (which means you don't need to
quote spaces).
BTW, the problem definitely is because you are trying to run code
compiled for JavaSE 6.0 in a J2SE 5.0 VM.
HTH,
Christian
On Wed, 2009-09-02 at 09:24 -0400, Rick Rogers wrote:
> thanks.
>
> dumb question though- how do I run Momentics with a different java vm? I am aware of how to do this with standard
eclipse, but isn't the jre packaged with qde?
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post37117
>
|
|
|