Unable to run Eclipse; JVM terminated. Exit code = 13

I just append - vm C: \ \ Program Files \ Java \ jre6 \ bin \ javaw.exe

In eclipse.ini, then I try to start eclipse again and receive this error. Give me how to solve or link to the actual solution to it.

This is my eclipse.ini

--launcher.XXMaxPermSize 256m 
C:\Program Files\Java\jre6\bin\javaw.exe

Thank you

#1 building

I ran into the same problem on Ubuntu and solved it by extracting all the *. Pack files in the JDK directory. For example: CD / usr / Java / jdk1.7.0_03 / JRE / lib sudo.. / bin / unpack200 rt.pack rt.jar

#2 building

Use the following configuration;

    C:\Program Files\Java\jdk1.7.0_51\jre\bin\javaw.exe

#3 building

I fixed the problem of reinstalling the jdk. As far as I am concerned, it is necessary to:

java -version
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
java -version
javac -version

Derive from Install Java JDK + JRE (oracle) in Kubuntu 13.04 of apt

#4 building

This error occurred on ubuntu where I installed 32-bit and 64 bit Java. Use

sudo update-alternatives --config java

Set the correct version to use as the default.

#5 building

View the second line of the message box. Here, you can see which Java runtime is actually started. All of a sudden, I had C: \ \ ProgramData \ Oracle \ Java \ javapath \ javaw.exe. This happened after I installed the "chrome java updater" (Chrome browser says: "your Java is out of date, you have to update...").

Before this "Chrome Java update", my eclipse (luna jee x64) started normally. Close to the background, I detected the following: Chrome Java updater (notabene launched from Oracle site) added C: \ \ ProgramData \ Oracle \ Java \ javapath in front of env var PATH. It contains three symbolic links that point to the latest Java 8 JRE installation in the (x86) program folder - > and therefore to 32-bit Java JRE. Oracle replaces the old technology with Java 8 that has symbolic links in system 32 (64 bit). SysWOW64 (32-bit).

At the same time, I learned. No matter what the Java installer you last executed (*. exe), it will cause Windows to remember the Java style (32b or 64b). As a result, the link in the updated C: \ \ ProgramData \ Oracle \ Java \ javapath points to an installation with the flavor of JAVA memory. If you have 64b eclipse installed and you encounter the error described: just reinstall the latest 64b JDK. After that, the Java update is no longer linked to the 32B version. And eclipse 64b will start correctly without an eclipse.ini entry.

Tags: Java Eclipse Oracle sudo

Posted on Fri, 13 Mar 2020 09:04:55 -0400 by Mohit_Prog