Cannot find JVM required for new installation. [message #1793886] |
Sat, 18 August 2018 22:28 |
Patrick Moran Messages: 141 Registered: March 2018 |
Senior Member |
|
|
I'm trying to upgrade to latest Eclipse but fail. with: "Version 1.6.9_65 of the JVM" is not suitable
The full error message I get is:
- Version 1.6.9_65 of the JVM is not suitable for this. product.
Version 1.8 or greater is required.
I've searched the Oracle site and they have a jvm.dll but nothing else seems relevant. I've installed the Eclipse-suggested version of Java, and also the very newest version, I even restarted, but get the same error message.
I'm using Mac OS 10.13.6 , which is fine with Oxygen.
Why do I get the same error regardless of what version of Java is installed? And what is a JVM? I've Googled JVM and just get a few random mentions.
[Updated on: Sat, 18 August 2018 22:31] Report message to a moderator
|
|
|
Re: Cannot find JVM required for new installation. [message #1793889 is a reply to message #1793886] |
Sun, 19 August 2018 04:09 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
The Mac has some idiosyncrasies. The OS will generally give wrong feedback about the required JVM, often telling you that you need an older one when you might already have a newer JRE installed. Did you read the following?
https://wiki.eclipse.org/Eclipse/Installation
There it says:
If you're using Mac, and you don't have a JDK installed, you may get a bogus message from the OS stating that you should "install the legacy Java SE 6 runtime". Installing that will not solve the problem, because recent versions of Eclipse require a higher version. If you install just a JRE, and not a full JDK, that error message will persist. You must install a full JDK.
So on the Mac you must install a JDK. It must be at least 1.8 for any recent version of Eclipse. The installer will try to find a suitable JDK. It uses the following command to find them all, i.e., it parses the XML emitted by the following:
/usr/libexec/java_home -X
A JVM is a Java Virtual Machine. A JRE is a Java Runtime Environment and a JDK is a Java Development Toolkit. Both a JRE and a JDK contain a JVM (the Java executable that you run which can emulate/executate the .class file byte code), along with the Java class libraries they need, but a JDK contains more tools and includes a JRE. I have no idea why a full JDK is required on the Mac, but it is.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Powered by
FUDForum. Page generated in 0.08415 seconds