Fw: JRE for Eclipse under Neutrino..

“Mephri” <mephri@infolink.co.id> wrote in message
news:<bgklb4$t9h$1@eclipse.org>…

Hi all! Could someone tell me where could I get JRE for Eclipse on
Neutrino/Photon platform? This link:
http://www.embedded.oti.com/download/technologies/wce_eclipse.phtml is not
correct. Nothing’s there.

TIA

–meph++






\

“Mephri” <mephri@infolink.co.id> wrote in message
news:<bgn7r3$9pe$1@eclipse.org>…

Yes I am. In fact we have the PE commercial version too. I tried to use the
J9 from the Momentics on Eclipse under Photon. But it didn’t work. Seems
like some of the java package is missing. My goal is just to test the QNX
Photon version of Eclipse. It is somewhat different from the one from
Momentics. Like the menus and project structures…

Best regards…

–meph++

“Dale Sherwood” <dale.sherwood@SPAM-BITBUCKET-nyab.com> wrote in message
news:bgmkig$qdj$1@eclipse.org

Mephri:

Are you aware of the free download of the non-commercial (NC) self-hosted
x86 edition of the QNX Momentics Development Suite
(http://www.qnx.com/eval/)? I use the professional edition (PE), but I think
this applies equally to NC. Momentics 6.2.1 is built around (and includes)
Eclipse 2.0.2, it runs under (and includes) Neutrino 6.2.1 and Photon 2.x,
and includes a JRE (J9, I think). It does not allow you to install just the
JRE, though, but if you have lots (1G) of free disk space you can use
Momentics to gain access to the Eclipse JDT and PDE. I also do not know how
you would redistribute the JRE, if that is your goal.

You might try submitting further questions to newsgroup
qdn.public.qnxrtp.devtools on server inn.qnx.com.

->>>–Dale-Sherwood–>

New York Air Brake Corp.

TDS Group

“Mephri” <mephri@infolink.co.id> wrote in message
news:bgklb4$t9h$1@eclipse.org

Hi all! Could someone tell me where could I get JRE for Eclipse on
Neutrino/Photon platform? This link:
http://www.embedded.oti.com/download/technologies/wce_eclipse.phtml is not
correct. Nothing’s there.

TIA

–meph++






\

“Mephri” <mephri@infolink.co.id> wrote in message news:<bgn7r3$9pe$1@eclipse.org>…

Yes I am. In fact we have the PE commercial version too. I tried to use the J9 from the Momentics on Eclipse under Photon. But it didn’t work. Seems like some of the java package is missing. My goal is just to test the QNX Photon version of Eclipse. It is somewhat different from the one from Momentics. Like the menus and project structures…

Best regards…

–meph++

“Dale Sherwood” <dale.sherwood@SPAM-BITBUCKET-nyab.com> wrote in message news:bgmkig$qdj$1@eclipse.org

Mephri:

Are you aware of the free download of the non-commercial (NC) self-hosted x86 edition of the QNX Momentics Development Suite (http://www.qnx.com/eval/)? I use the professional edition (PE), but I think this applies equally to NC. Momentics 6.2.1 is built around (and includes) Eclipse 2.0.2, it runs under (and includes) Neutrino 6.2.1 and Photon 2.x, and includes a JRE (J9, I think). It does not allow you to install just the JRE, though, but if you have lots (1G) of free disk space you can use Momentics to gain access to the Eclipse JDT and PDE. I also do not know how you would redistribute the JRE, if that is your goal.

You might try submitting further questions to newsgroup qdn.public.qnxrtp.devtools on server inn.qnx.com.

->>>–Dale-Sherwood–>

New York Air Brake Corp.

TDS Group

“Mephri” <mephri@infolink.co.id> wrote in message news:bgklb4$t9h$1@eclipse.org

Hi all! Could someone tell me where could I get JRE for Eclipse on Neutrino/Photon platform? This link: http://www.embedded.oti.com/download/technologies/wce_eclipse.phtml is not correct. Nothing’s there.

TIA

–meph++






\

Yes I am. In fact we have the PE commercial version too. I tried to use the
J9 from the Momentics on Eclipse under Photon. But it didn’t work. Seems
like some of the java package is missing. My goal is just to test the QNX
Photon version of Eclipse. It is somewhat different from the one from
Momentics. Like the menus and project structures…

export PATH=$PATH:/usr/qde/eclipse/jre/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/qde/eclipse/jre/bin

You will also need to add paths in your eclipse/plugins/* tree that
contain a .so to your LD_LIBRARY_PATH. This is due to a bug in j9 1.5
where it wasn’t honoring the setup of the library search path. Take
a look at the qde.sh script in your install (since you have PE), it shows
how the environment setup can be automated.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Done that, but didn’t work. Here’s the error message:

java.lang.UnsatisfiedLinkError: swt-photon-2133 (Not found in java.library.path)

Stack trace:
java/lang/Throwable.()V
java/lang/Throwable.(Ljava/lang/String;)V
java/lang/UnsatisfiedLinkError.(Ljava/lang/String;)V
java/lang/Runtime.loadLibraryWithClassLoader(Ljava/lang/String;Ljava/lang/ClassLoader;)V
java/lang/System.loadLibrary(Ljava/lang/String;)V
org/eclipse/swt/internal/Library.loadLibrary(Ljava/lang/String;)V
org/eclipse/swt/internal/photon/OS.()V
java/lang/Class.initializeImpl()V
java/lang/Class.initialize()V
org/eclipse/swt/widgets/Display.createDisplay(Lorg/eclipse/swt/graphics/DeviceData;)V
org/eclipse/swt/widgets/Display.create(Lorg/eclipse/swt/graphics/DeviceData;)V
org/eclipse/swt/graphics/Device.(Lorg/eclipse/swt/graphics/DeviceData;)V
org/eclipse/swt/widgets/Display.(Lorg/eclipse/swt/graphics/DeviceData;)V
org/eclipse/swt/widgets/Display.()V
org/eclipse/ui/internal/Workbench.run(Ljava/lang/Object;)Ljava/lang/Object;
org/eclipse/core/internal/boot/InternalBootLoader.run(Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;
org/eclipse/core/boot/BootLoader.run(Ljava/lang/String;Ljava/net/URL;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;
java/lang/reflect/AccessibleObject.invokeL(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
org/eclipse/core/launcher/Main.basicRun([Ljava/lang/String;)Ljava/lang/Object;
org/eclipse/core/launcher/Main.run([Ljava/lang/String;)Ljava/lang/Object;
org/eclipse/core/launcher/Main.main([Ljava/lang/String;)V

–meph++

“Chris McKillop” <cdm@qnx.com> wrote in message news:bgoj5u$8j1$3@nntp.qnx.com

Yes I am. In fact we have the PE commercial version too. I tried to use the
J9 from the Momentics on Eclipse under Photon. But it didn’t work. Seems
like some of the java package is missing. My goal is just to test the QNX
Photon version of Eclipse. It is somewhat different from the one from
Momentics. Like the menus and project structures…


export PATH=$PATH:/usr/qde/eclipse/jre/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/qde/eclipse/jre/bin

You will also need to add paths in your eclipse/plugins/* tree that
contain a .so to your LD_LIBRARY_PATH. This is due to a bug in j9 1.5
where it wasn’t honoring the setup of the library search path. Take
a look at the qde.sh script in your install (since you have PE), it shows
how the environment setup can be automated.

chris


Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Mephri <mephri@infolink.co.id> wrote:

Done that, but didn’t work. Here’s the error message:

You didn’t add to the LD_LIBRARY_PATH your
eclipse/plugins/org.eclipse.swt.photon*/os/qnx/x86 directory. Once you do
that it will be able to find the shlib.

chris


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

It’s working now. Thanks Sir…

–meph++

“Chris McKillop” <cdm@qnx.com> wrote in message
news:bgrd99$l26$2@nntp.qnx.com

Mephri <> mephri@infolink.co.id> > wrote:
Done that, but didn’t work. Here’s the error message:


You didn’t add to the LD_LIBRARY_PATH your
eclipse/plugins/org.eclipse.swt.photon*/os/qnx/x86 directory. Once you do
that it will be able to find the shlib.

chris


Chris McKillop <> cdm@qnx.com> > “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/