Home » Newcomers » Newcomers » Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency(Java 8 JRE is not a suitable prerequisite for the Eclipse installer)
Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency[message #1769484]
Tue, 01 August 2017 03:16
David Antliff Messages: 10 Registered: April 2015
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]
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
Ed Merks Messages: 31494 Registered: July 2009
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 #1769731 is a reply to message #1769498]
Thu, 03 August 2017 01:46
David Antliff Messages: 10 Registered: April 2015
Thanks for the response. I'll install the JDK. The documentation I mentioned was linked in my first post: 'A Java 8 JRE/JDK is required to run all Oxygen packages based on Eclipse 4.7' - perhaps it should include a note to say 'JDK' for macOS?
Re: Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency[message #1769738 is a reply to message #1769731]
Thu, 03 August 2017 05:15
Ed Merks Messages: 31494 Registered: July 2009
Sorry, I should have noticed that. I've made a number of changes to the wiki to make the Mac issues explicit.
Ed Merks Professional Support: https://www.macromodeling.com/
Re: Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency[message #1795119 is a reply to message #1769738]
Sat, 15 September 2018 08:06
john smith Messages: 1 Registered: September 2018 Location: usa
Hey, I have faced the same situation whereas already I'm trying to install the latest Eclipse Oxygen release, but I was not able to install this because I haven't get the latest update of IOS version then I decide to visit the apple support site but iPhone Support expert team don't provide me any solution their executive told me that they don't have any idea about Eclipse Oxygen.
Re: Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency[message #1795132 is a reply to message #1795119]
Sun, 16 September 2018 04:36
Ed Merks Messages: 31494 Registered: July 2009
On the Mac you must install a full JDK. Did you actually install a Java 8 (o higher) JDK (not just a JRE)?
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
Randy Bonnette Messages: 5 Registered: May 2019
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 runessay cheapor 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]
Re: Unable to install Eclipse Oxygen on macOS Sierra due to JRE 6 dependency[message #1810175 is a reply to message #1810167]
Fri, 02 August 2019 09:28
Ed Merks Messages: 31494 Registered: July 2009
Did you properly configure the JRE used by the installation in Preferences -> Java -> Installed JREs to specify the Java 12 JDK/JRE? And is Preferences -> Java -> Compiler configured to Java 12?
Ed Merks Professional Support: https://www.macromodeling.com/
Previous Topic:
How to set the focus on View Title
Next Topic:
Error while Running Eclipse
Eclipse Mac Os Sierra Download Dmg
Goto Forum:
-=] Back to Top [=-
Current Time: Wed Sep 30 14:55:57 GMT 2020
Powered by FUDForum. Page generated in 0.04065 seconds
Update 7/2017
It seems that newly installed Eclipse bundles (tested on Eclipse 4.7 Oxygen full release) don’t require the procedure any more. But still it is smart to do the check to prevent frustration from reinstalling of all the plugins.
Starting with macOS Sierra, application downloaded from the Internet will have “quarantine” tag set to it. This tag tells the system to run the application in the sandbox filesystem where it cannot do any damage to the rest of the system. This feature is called translocation.
The word is that after moving/copying of the file from the Downloads folder, this tag should be removed. Well in my experience with Eclipse – it sometimes isn’t.
While the whole idea is nice and secure, it can be real pain when you download Eclipse, run it, install all the plugins you wish and after you start the Eclipse to get some work done – all is gone.
Fortunately it can be easily fixed by removing the tag manually.
Eclipse For Mac Os Sierra Download
Run following in the shell to find out if the tag is set:
Eclipse Mac Os Sierra Download 10 12
If the output looks like the example, the tag is set. Run:
And that’s it! Now your Eclipse is the first class citizen of your system.