Hello, I use Linux Mint 16 and I installed eclipse and I rode around quietly, but after installing eclipse I uninstalled OpenJDK 1.7 and installed JavaJDK 1.8. I edited the / etc / profile file 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 you run the java -version and javac -version commands, the results are correct, showing that java has been installed successfully. I opened the eclipse again and this is the 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 was only visualizing the java version that remains after uninstalling OpenJDK.
Can anyone help me?