Eclipse error does not meet JVM

Asked

Viewed 633 times

0

Hello, I use Linux Mint 16 and I installed the eclipse and I circled quietly, but after the eclipse installation I uninstalled Openjdk 1.7 and installed Javajdk 1.8. edited the file /etc/profile by adding these lines:

JAVA_HOME=/usr/lib/jvm/jdk8u1
PATH=$JAVA_HOME/bin:$PATH export PATH JAVA_HOME
CLASSPATH=$JAVA_HOME/lib/tools.jar
CLASSPATH=.:$CLASSPATH
export PATH JAVA_HOME CLASSPATH  

When running the java -version and javac -version commands the results are correct showing that java has been successfully installed. I opened the eclipse again and this is error that is appearing:

Version 1.5.0 of the JVM is not suitable for this product. Version: 1.6 or greater is required.

It is as if the eclipse is viewing only the java version that is left after uninstalling Openjdk.

Can someone help me??

  • As soon as opening the eclipse gives already this error or you try to run some project? Is it possible you put some error picture?

1 answer

1


There are two versions of Eclipse on Linux:

  • The version of official website of the Eclipse is what he talks to Javajdk (official of Oracle).
  • The version downloaded via repositories like apt-get is the one who talks to Openjdk.

Try downloading the official website version to see if it works.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.