Error in Eclipse

Forum related to ERIKA Enterprise and RT-Druid version 3

Moderator: paolo.gai

Locked
TronManI
Newbie
Posts: 5
Joined: Mon Apr 29, 2019 4:24 pm

Error in Eclipse

Post by TronManI » Tue Apr 30, 2019 8:51 am

Hello Experts,

I am facing the below eclipse error when I run the eclipse.exe from the "eclipse-rtdruid3-photon-win32-x86_64_20190221_gh61" package.


Can you please help resolve the issue?

-TronManI
Attachments
Annotation.png
Annotation.png (96.16 KiB) Viewed 3580 times

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: Error in Eclipse

Post by paolo.gai » Tue Apr 30, 2019 10:56 am

It seems you are using a JRE version 144.

The version installed on my machine is 201. maybe that is the issue...

Apart from that, I see no other reason why it should fail...

Ciao,

PJ

nicola.serreli
Jr. Member
Posts: 68
Joined: Mon Aug 02, 2010 10:11 am

Re: Error in Eclipse

Post by nicola.serreli » Tue Apr 30, 2019 11:06 am

Hello,

usually this kind of error are related to a mismatch between "bit versions": probably you are trying to run a 64bit version of eclipse using a 32bit version of java.

please, try this command in a command line shell (like cmd, or cygwin in windows):

Code: Select all

java -version
if the running java is a 64bit one, you should find "64 bit" in the answer.

a 64 bit example:

Code: Select all

java -version
openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-8u191-b12-2ubuntu0.18.04.1-b12)
OpenJDK 64-Bit Server VM (build 25.191-b12, mixed mode)
a 32 bit example:

Code: Select all

java -version
java version "1.8.0_91"
java(TM) SE Runtime Environment (build 1.8.0_91-b15)
java HotSpot(TM) Client VM (build 25.91-b15, mixed mode)
If actually your java installation is a 32bit version, you should install the 64 bit one, or download the 32bit version of eclipse/RT-Druid.

Note that it is possible to have multiple installations of java and select the one to be used to run eclipse (see https://wiki.eclipse.org/Eclipse.ini)

best regards,
Nicola

TronManI
Newbie
Posts: 5
Joined: Mon Apr 29, 2019 4:24 pm

Re: Error in Eclipse

Post by TronManI » Tue Apr 30, 2019 11:33 am

Problem solved.I had to use 64-bit JVM on my machine.

Locked