java - Eclipse does not launch (Ubuntu) : JVM terminated. Exit code=2 -
The
"post-text" itemprop = "text">
- I'm installing Ubuntu 14.04 LTS (64-bit)
- 64 bit then Install Eclipse Luno Standard for
-
Install Jdk and follow all the steps to set jdk using the following link,
-
Then I get an error after starting my eclipse after I have been able,
the VM has ended code = 2
/ Usr / bin / java -Dosgi.requiredJavaVersion = 1.6 - XX: MaxPermSize = 256M -Xms256m -Xmx1024m jar / home / Eheuristic / Ecclipse / Eclipse // plugins / org.eclipse.equinox.launcher_1.3.0.v20140415- 2008.jar -os Linux -ws GTK -arch x86_64 -showsplash / home /eheuristic/Ecclipse/eclipse//plugins/org.eclipse.platform_4.4.0.v20140925- 0400 / splash.bmp -launcher / home / Eheuristic / Ecclipse / Eclipse / Eclipse -name assumed --launcher.library / home / eheuristic / Ecclipse / eclipse // plugins / org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1. 200.v20140603-1326 / eclipse_1605.so -startup /home/eheuristic/Ecclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar --launcher.appendVmargs 208,017 -Product org -exitdata. eclipse.epp.package.java.product -vm / usr / bin / java -vmargs -Dosgi.requiredJavaVersion = 1.6 -XX: MaxPermSize = 256M -Xms256m -Xmx1024m jar / home / Eheuristic / Ecclipse / Eclipse // plugins / org. eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
I tried to solve the setting of environment variables, but it can not Help me, one suggests how to solve it.
First of all, I recommend that you use webupd8 ppa
sudo ed-apt-store ppa: webupd8team / java sudo apt-get update sudo apt-get install oracle-java8-installer
then install it to
sudo update-java-alternatives -s java-8-oracle
The advantage is easy.
Comments
Post a Comment