Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency [message #1769484] |
Mon, 31 July 2017 23:16  |
Eclipse User |
|
|
|
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: Mon, 31 July 2017 23:24] by 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 01:03   |
Eclipse User |
|
|
|
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?
|
|
|
|
|
|
|
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 03:08   |
Eclipse User |
|
|
|
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 03:11] by Moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.33666 seconds