Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency [message #1769484] |
Tue, 01 August 2017 03:16 ![Go to next message Go to next message](theme/Solstice/images/down.png) |
David Antliff![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=david.antliff%40gmail.com) Messages: 10 Registered: April 2015 |
Junior Member |
|
|
I'm trying to install the latest Eclipse Oxygen release (eclipse-inst-mac64.tar.gz downloaded today) onto macOS 10.12.5 (Sierra). After decompressing the tarball, I have a "Eclipse Installer.app" that when I open gives me this error:
"To open "Eclipse-inst" you need to install the legacy Java SE 6 runtime."
However, according to this page, I should only need JRE 8, not JRE 6.
I have downloaded JRE SE 8u144 from Oracle and installed it, however I still get this error message.
Is it actually correct? Do I really need two different JREs installed to install Eclipse? Why doesn't the installer work with JRE 8?
EDIT: I have confirmed via Safari and oracle.com that v8u144 is "active" on my system.
EDIT: I see on StackOverflow that the problem might be solved by installing JDK 8 rather than JRE. However I specifically do not with to do this (I will be using Eclipse with CDT, not for Java development) and if it truly is a requirement then I suggest two changes:
1. fix the installer so it works with a modern version of the Java RE.
2. update the docs so that it specifies the JDK as a minimum requirement, rather than the JRE.
[Updated on: Tue, 01 August 2017 03:24] Report message to a moderator
|
|
|
Re: Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency [message #1769498 is a reply to message #1769484] |
Tue, 01 August 2017 05:03 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Ed Merks![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=ed.merks%40gmail.com) Messages: 33205 Registered: July 2009 |
Senior Member |
|
|
Unfortunately each OS has its own peculiarities. The message about needing Java 6 comes from the Mac OS itself, and it's a bogus message. This basic problem affects not just the installer application, but any other Eclipse application you will try to install using it, because the installer application is in fact just an Eclipse application and will suffer from all the same problems that it has. So yes, as far as I understand it, to run any Eclipse application on a Mac, you will need to install a JDK, best a JDK 8 at this point. Not that it's helpful to you, but for Windows, the installer is distributed as a native executable that does smarter checking of the available JREs and JDKs on the system so it does a better job detecting problems you will have when you actually try to launch the application, linking you to a page like this: http://download.eclipse.org/oomph/jre/?vm=2 filtered to the version that's needed when the right JRE/JDK is not available.
Certainly there isn't much useful to explain this Mac-specific peculiarity at https://wiki.eclipse.org/Eclipse/Installation nor in https://www.eclipse.org/downloads/eclipse-packages/?show_instructions=TRUE but I wonder if that's the documentation you think would be best to update, or were you looking elsewhere?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
Re: Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency [message #1810167 is a reply to message #1795132] |
Fri, 02 August 2019 07:08 ![Go to previous message Go to previous message](theme/Solstice/images/up.png) ![Go to next message Go to next message](theme/Solstice/images/down.png) |
Randy Bonnette![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=tamuccuser%40naver.com) Messages: 6 Registered: May 2019 |
Junior Member |
|
|
Quote:
Unfortunately each OS has its own peculiarities. The message about needing Java 6 comes from the Mac OS itself, and it's a bogus message. This basic problem affects not just the installer application, but any other Eclipse application you will try to install using it, because the installer application is in fact just an Eclipse application and will suffer from all the same problems that it has. So yes, as far as I understand it, to run essay cheap or any Eclipse application on a Mac, you will need to install a JDK, best a JDK 8 at this point. Not that it's helpful to you, but for Windows, the installer is distributed as a native executable that does smarter checking of the available JREs and JDKs on the system so it does a better job detecting problems you will have when you actually try to launch the application, linking you to a page like this: http://download.eclipse.org/oomph/jre/?vm=2 filtered to the version that's needed when the right JRE/JDK is not available.
Certainly there isn't much useful to explain this Mac-specific peculiarity at https://wiki.eclipse.org/Eclipse/Installation nor in https://www.eclipse.org/downloads/eclipse-packages/?show_instructions=TRUE but I wonder if that's the documentation you think would be best to update, or were you looking elsewhere?
Hi Ed,
I successfully installed Oracle JDK 12 on my Mac - after so many attempts (my antivirus blocked it all the time until I disabled it). I've upgraded to Eclipse 4.11 on Windows (on my older PC), however, it didn't work properly with Java 12 - Java 12 enhancements were not recognized and any Java 12 code was marked as an error.
[Updated on: Fri, 02 August 2019 07:11] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.08656 seconds