Eclipse Not working with java 8 and win 8 [duplicate] - java

This question already has answers here:
Can't start Eclipse - Java was started but returned exit code=13
(44 answers)
Closed 7 years ago.
I tried to run ecipse it shows this error message. I installed java 8 and uninstalled java 7. -Dosgi.requiredJavaVersion=1.6 this is the difference, because I have tried that also its not working for me.
Java was started but returned exit code=13
C:\ProgramData\Oracle\Java\javapath\javaw.exe
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
-os win32
-ws win32
-arch x86
-showsplash C:\eclipse\\plugins\org.eclipse.platform_4.4.0.v20140925-0400\splash.bmp
-launcher C:\eclipse\eclipse.exe
-name Eclipse
--launcher.library C:\eclipse\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20140603-1326\eclipse_1603.dll
-startup C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.appendVmargs
-exitdata 1b34_90
-product org.eclipse.epp.package.java.product
-vm C:\ProgramData\Oracle\Java\javapath\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-jar C:\eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
Any body have any idea what this error means.

open file
eclipse.ini
and add two lines below opnFile and above -vmargs commend in eclipse.ini
-vm
C:/Program Files/Java/jdk1.7.0_51/bin
where C:/Program Files/Java/jdk1.7.0_51/bin path is your JDK bin directory path

Related

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

Java was started but returned exit code 13 [duplicate]

This question already has answers here:
Can't start Eclipse - Java was started but returned exit code=13
(44 answers)
Closed 8 years ago.
Both eclipse and jdk are 64 bit.
Environment variables:
classpath: C:\Program Files\Java\jdk1.7.0_45\jre\lib
path: C:\Program Files\Java\jdk1.7.0_45\jre\bin
I added the these lines to my eclipse.ini file:
-vm
C:\Program Files\Java\jre7\bin\javaw.exe
My java version details:
C:\Users\Owner>java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
My eclipse.ini file:
I have edited the required version from 1.5 to 1.7
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
The Error Details:
Java was started but returned exit code=13
C:\Program Files\Java\jre7\bin\javaw.exe
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar
C:\ECLIPSE\ECLIPSE\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
-os win32
-ws win32
-arch x86
-showsplash
-launcher C:\ECLIPSE\ECLIPSE\eclipse.exe
-name Eclipse
--launcher.library
C:\ECLIPSE\ECLIPSE\\plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.
v20120502\eclipse_1406.dll
-startup
C:\ECLIPSE\ECLIPSE\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata 19b4_60
-product org.eclipse.epp.package.java.product
-vm C:\Program Files\Java\jre7\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms40m
-Xmx384m
-XX:MaxPermSize=256m
-jar
C:\ECLIPSE\ECLIPSE\\plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
Please help. I have tried re-installing everything twice. Nothing has helped.
and it seems like the eclipse.ini file has been manupilated before
you have a 32 bit jvm, but your requirements are that of a 64 bit
use the x86 java.exe n check if it works by that i mean use the ProgramFilesx86 path

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