Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

What should I do in the case of eclipse incompatible jvm?

Asked by Mayank Mistry Oct 11, 2022 2.1K views 1 answer
Share

About this question

 I get the following error when trying to launch Eclipse, which I recently tried to install.

"Version 1.6.0_65 of the JVM is not suitable for this product. Version 1.7 or greater is required."

I'm running Mountain Lion.

I have the most recent 1.8 installed from Oracle, and this is the install I would like Eclipse to be using. The following image shows the info from the Java Control Panel including the version number and the install path.

Here's the info on the Apple installed Java VM which is the one Eclipse is currently trying to use.

~> which java

/usr/bin/java

~> java -version

java version "1.6.0_65"

Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)

Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)

~> ls -l /usr/bin/java

lrwxr-xr-x  1 root  wheel  74 Oct 16  2013 /usr/bin/java -> /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.