I have installed eclipse for andriod but when I launch it, I am getting error in the eclipse executable launcher that was unable to locate its companion shared library where
my eclipse.ini file is
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm “C:\Program Files\Java\jdk1.7.0_51\javaw.exe”
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.1.0-569685
It was working some days before but after upgrading jdk it is not working
Related
New to RCP application. While running the application as Launch an eclipse application it throws below error wrt org.eclipse.osgi
java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method)
Reduced the Env variable to 1.6 from 1.8
Eclipse version: Indigo
Below is my eclipse ini file
-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.rcp.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\DEV\jdk1.6.0_45\bin\
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
Please convey if im missing some thing
A dependent jar was compiled on jdk 1.8. Recompiled using 1.6 and it worked
This question already has answers here:
Eclipse crashes at startup; Exit code=13
(6 answers)
Closed 7 years ago.
How can I fix this error to startup eclipse ?
Eclipse.ini file I have installed jdk 7u55
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\Program Files (x86)\Java\jdk1.7.0_55\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx1024m
No matter how I edit the eclipse.ini eclipse won't run and gives me exit code 13 .
I have the --launcher.appendVmargs after the -vm and is working for me:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:/Program Files/Java/jdk1.8.0_40/bin/javaw.exe
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms256m
-Xmx2048m
My installation of Eclipse reports error that it failed to create a Java virtual machine although I use it daily and I didn't change anything.
My eclipse.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v22.3.0-887826
-XX:MaxPermSize=512M
Just add your JDK path in windows environment variable.
or
Open eclipse.ini file and Change the vmargs sizes to
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
or
In your eclipse.ini file
Add -vm C:\Program Files\Java\jre7\bin\javaw
at beginning of your eclipse.ini
//make sure you have same directory structure
And then remove 256m which is below the line --launcher.XXMaxPermSize. It will work.
I installed the SDK Tool in my windows 7 64 bits laptop, and I got that error.
Java was started but returned exit code=14
Here is the info I have in my eclipse.ini file
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=7
-Xms40m
-Xmx768m
-Declipse.buildId=v22.6.2-1085508
-XX:MaxPermSize=512M
I noticed a typo:
-Dosgi.requiredJavaVersion=7
should be:
-Dosgi.requiredJavaVersion=1.7
Also, for eclipse to work Java 7 or later must be installed
I want to set up maven in eclipse. If I set the option
-vm
C:\jdk1.7.0_45\bin\javaw.exe
in the eclipse.ini, my eclipse is not starting anymore. The path is definitely correct and I saw the entry like this on different sources on the internet. My complete configuration looks like that:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20130807-1835
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
-vm
C:\jdk1.7.0_45\bin\javaw.exe
Put the 2 lines :
-vm
C:\jdk1.7.0_45\bin\javaw.exe
before the -vmargs option.
This is because anything after the -vmargs is taken as arguments.