Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - gforge plugin: (6 Items)
   
gforge plugin  
I am unable to get the gforge plugin to work with Momentics 4.6.1 (attached image shows error message).  It looks like 
the plugin is checking for the Eclipse version (I believe it is looking for the current Eclipse versions of 3.3, 3.4, 
etc).

Anyone have any ideas how to circumvent this to get the gforge plugin to work?
Attachment: Image momentics_gforge_error.png 228.66 KB
Re: gforge plugin  
This is java incompatibility I believe. You can try to run IDE with 
java6 vm (since it is already using java5).

Rick Rogers wrote:
> I am unable to get the gforge plugin to work with Momentics 4.6.1 (attached image shows error message).  It looks like
 the plugin is checking for the Eclipse version (I believe it is looking for the current Eclipse versions of 3.3, 3.4, 
etc).
>
> Anyone have any ideas how to circumvent this to get the gforge plugin to work?
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post37113
>   
>
> ------------------------------------------------------------------------
>
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?
RE: gforge plugin  
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
> 
RE: gforge plugin  
yup- that worked.  I just renamed the qde jre directory to jre.bak and made a symbolic link to my 1.6 install and was 
able to start the plugin.

thanks!

now I'm getting an SSL error, but I think that is something on our network side.
Attachment: Image gforge_eclipse_ssl_error.png 21.81 KB
Re: gforge plugin  
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
>