Trouble to start eclipse ganymede - java

I am getting trouble to open Eclipse ganymede version for windows 32bit.
---------------------------
Eclipse
---------------------------
JVM terminated. Exit code=-1
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
-XX:PermSize=128M
-XX:MaxPermSize=256M
-Djava.class.path=C:\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-os win32
-ws win32
-arch x86
-showsplash C:\eclipse\\plugins\org.eclipse.platform_3.3.101.v200902111700\splash.bmp
-launcher C:\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup C:\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
-vm C:\Program Files\Java\jdk1.6.0_23\bin\..\jre\bin\server\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx1024m
-XX:PermSize=128M
-XX:MaxPermSize=256M
-Djava.class.path=C:\eclipse\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20081125.jar
---------------------------
OK
---------------------------

A couple suggestions:
if it never worked, try with a different JDK (try with a JDK5 for instance)
if it was working:
try with an eclipse.exe -clean (see "How to run eclipse in clean mode? and what happens if we do so?")
try with a separate fresh installation
try also with a custom eclipse.ini like this one.

Related

Eclipse Oxygen quits automatically on Ubuntu 14.04 with jvm exit code 1

I have come across a problem with my latest eclipse oxygen on Ubuntu 14.04 (installed within VMware). Each time after being launched for several minutes and operated on, it crashes.
This is the error message that always pops up:
JVM terminated. Exit code=1
/usr/bin/java
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
-os linux
-ws gtk
-arch x86_64
-showsplash /opt/eclipse//plugins/org.eclipse.epp.package.common_4.7.0.20170620-1800/splash.bmp
-launcher /opt/eclipse/eclipse
-name Eclipse
--launcher.library /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133/eclipse_1624.so
-startup /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.appendVmargs
-exitdata cc0022
-product org.eclipse.epp.package.cpp.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-jar /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
There is no .log file in .metadata folder the first time it crashes in a freshly-created workspace.
By entering in terminal file /etc/alternatives/java /etc/alternatives/javac, the output is:
/etc/alternatives/java: symbolic link to `/usr/lib/jvm/java-8-oracle/jre/bin/java'
/etc/alternatives/javac: symbolic link to `/usr/lib/jvm/java-8-oracle/bin/javac'
and java -version yields
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
Also, in case it may be of any use, below is my eclipse.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133
-product
org.eclipse.epp.package.cpp.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=#user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
I have tried a lot of methods online but none matches my case perfectly and none seems to be working.
My Eclipse was downloaded from the official site (the C/C++ package) and placed under /opt. Everything is 64-bit. I also tried deleting the eclipse package file and reinstall but failed many times with the same problem. (Not sure whether deleting the file means "uninstalling" it)
Hope someone could help! Much appreciated!

JVM terminated. Exit code=15

We installed eclipse and X11.Dt filesets on AIX
However, when I try executing eclipse it throws exit-code=15.
[machine_name]:/opt/freeware/eclipse$ ./eclipse
Eclipse:
JVM terminated. Exit code=15
/usr/java14/jre/bin/java
-Xms40m
-Xmx512m
-jar /opt/freeware/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os aix
-ws gtk
-arch ppc64
-showsplash /opt/freeware/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /opt/freeware/eclipse/eclipse
-name Eclipse
--launcher.library /opt/freeware/eclipse//plugins/org.eclipse.equinox.launcher.gtk.aix.ppc64_1.1.100.v20120913-144808/eclipse_1502.so
-startup /opt/freeware/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 2740000b
-vm /usr/java14/jre/bin/java
-vmargs
-Xms40m
-Xmx512m
-jar /opt/freeware/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Not sure what has gone wrong. Please provide your suggestions to fix this issue
Should we install GTK Libraries on AIX? Where can I see the log file for this runtime error ?
We installed the following filesets on our AIX box
atk-1.12.3-2.aix5.2.ppc.rpm
cairo-1.8.8-1.aix5.2.ppc.rpm
expat-2.0.1-1.aix5.2.ppc.rpm
fontconfig-2.4.2-1.aix5.2.ppc.rpm
freetype2-2.3.9-1.aix5.2.ppc.rpm
gettext-0.10.40-6.aix5.1.ppc.rpm
glib2-2.12.4-2.aix5.2.ppc.rpm
gtk2-2.10.6-4.aix5.2.ppc.rpm
libjpeg-6b-6.aix5.1.ppc.rpm
libpng-1.2.32-2.aix5.2.ppc.rpm
libtiff-3.8.2-1.aix5.2.ppc.rpm
pango-1.14.5-4.aix5.2.ppc.rpm
pixman-0.12.0-3.aix5.2.ppc.rpm
xcursor-1.1.7-3.aix5.2.ppc.rpm
xft-2.1.6-5.aix5.1.ppc.rpm
xrender-0.9.1-3.aix5.2.ppc.rpm
zlib-1.2.3-3.aix5.1.ppc.rpm
from the URL mentioned below
http://www-01.ibm.com/support/docview.wss?uid=swg21631478
which fixed the issue

Exit code=127 when I start Eclipse

I've installed Ubuntu 10.10, Eclipse Juno and Java 1.7.
Firstly, when I tried to start Eclipse, this last one said me that it doesn't exist a java runtime environment on my computer. So, I've created in the Eclipse directory deux others directory(jre/bin) within I put all the files from the bin directory of java.
After, When I started, I had this following errors :
JVM terminated. Exit code=127
/home/dark0502/Desktop/eclipse/jre/bin/java
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/dark0502/Desktop/eclipse//plugin/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86
-showsplash /home/dark0502/Desktop/eclipse//plugins/org.eclipse.platform_4.2.2.v201302041200/splash.bmp
-launcher /home/dark0502/Desktop/eclipse/eclipse
-name Eclipse
--launcher.library /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120913-144807/eclipse_1502.so
-startup /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 248015
-product org.eclipse.epp.package.java.product
-vm /home/dark0502/Desktop/eclipse/jre/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m
-jar /home/dark0502/Desktop/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar `
Do you have a solution ?
Thank you
Searching the net, it seems it was already reported:
http://www.linuxquestions.org/questions/linux-software-2/eclipse-juno-start-up-error-127-a-4175418488/
And the solution suggested was:
I figured it out. I installed JDK7 and was under the impression that
it would also install JRE with it. Whenever I went to anything that
used Java it said it was using 7 so I assumed it must have. I guess
the difference between the JDK and the JRE installed caused it to not
work

Eclipse IDE running error

I have downloaded Eclipse for JAVA developers from their site
and inserted to ini file:
-vm
c:\Program Files (x86)\Java\jre7\bin\javaw.exe
But when I run a eclipse.exe I have another frustrated message:
---------------------------
Eclipse
---------------------------
Java was started but returned exit code=13
c:\Program Files (x86)\Java\jre7\bin\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar D:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os win32
-ws win32
-arch x86_64
-showsplash D:\eclipse\\plugins\org.eclipse.platform_4.2.1.v201209141800\splash.bmp
-launcher D:\eclipse\eclipse.exe
-name Eclipse
--launcher.library D:\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813\eclipse_1503.dll
-startup D:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 14a4_5c
-product org.eclipse.epp.package.jee.product
-vm c:\Program Files (x86)\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar D:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
---------------------------
OK
---------------------------
What the matter? How to fix it ?
Do you have the correct version of JDK installed for eclipse.?
If you have a 64 bit eclipse downloaded use the 64 bit JDK.
From your question it seems that you have the 32 bit JDK
c:\Program Files (x86)\Java\jre7\bin\javaw.exe
and eclipse seems to be 64 bit
-arch x86_64

VM terminated. Exit code=13

Hi just now i changed to centos 5.7 i was installed java. I am sure about that it is working well i checked it javac and java commands from terminal.But when i was trying to launch eclipse is says some says that
A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be
available in order to run Eclipse. No Java virtual machine was found
after searching the following locations:
/home/seed/app/jre1.5.0_10/bin
.
When i was run /eclipse -vm /home/seed/app/jre1.5.0_10/bin command from terminal.If i open in eclipse from filesystem it gives following error.
VM terminated. Exit code=13
/usr/bin/java
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os linux
-ws gtk
-arch x86
-showsplash
-launcher /home/developer/Softwares/eclipse/eclipse
-name Eclipse
--launcher.library /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505/eclipse_1407.so
-startup /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 68801a
-product org.eclipse.epp.package.java.product
-vm /usr/bin/java
-vmargs
-Dosgi.requiredJavaVersion=1.5
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-jar /home/developer/Softwares/eclipse//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
I had the same problem, turns out the shortcut made by the installer was set to
/eclipse/ instead of /eclipse64/.
Open eclipse.ini and type the following at the beginning of the file.
-vm
/path/to/java/bin/javaw
Problem with incompatible eclise that is 32 bit and my machine is 64 bit finally i solved this By downloading 64 bit eclipse from :http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-java-indigo-SR1-linux-gtk-x86_64.tar.gz

Categories