Java on Mac OS X El Capitan

Questions and answers for all installation-related topics for Servoy products

Java on Mac OS X El Capitan

Postby tgs » Tue Nov 03, 2015 12:48 pm

I could not install Java jdk.1.8.0_66 on a clean installed Mac OS X 10.11.1 (El Capitan) because of a feature in OS X 10.11: System Integrity Protection.

To get the Java install work, I first had to disable the csrutil.

Does anybody else have the same issue?
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 833
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java on Mac OS X El Capitan

Postby gganea » Tue Nov 03, 2015 1:44 pm

I'm running an updated to El Capitan OS X and installing jdk 1.8.0_66 from the dmg worked fine.

The oracle installer from the .dmg file should install in /Library/Java/JavaVirtualMachines. That folder is not protected by the SIP, only /System, /bin, /sbin and /usr should be protected (https://en.wikipedia.org/wiki/System_In ... Protection).
What error do you get? Maybe it tries to create some links in one of the protected folders...
George Ganea
Servoy
gganea
 
Posts: 20
Joined: Mon May 19, 2014 8:31 am

Re: Java on Mac OS X El Capitan

Postby tgs » Tue Nov 03, 2015 6:02 pm

gganea wrote:What error do you get? Maybe it tries to create some links in one of the protected folders...

I doesn't took a look in to the Console.app for an error.
It simple doesn't run the Java installer.

Regards Thomas
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 833
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java on Mac OS X El Capitan

Postby gganea » Tue Nov 03, 2015 7:06 pm

Is the "Allow apps downloaded from anywhere" setting on?
Attachments
Screen Shot 2015-11-03 at 19.04.19.pdf
(143.14 KiB) Downloaded 59 times
George Ganea
Servoy
gganea
 
Posts: 20
Joined: Mon May 19, 2014 8:31 am

Re: Java on Mac OS X El Capitan

Postby tgs » Tue Nov 03, 2015 9:45 pm

Yes, of course.
Thomas Schnaus
SAN Developer
yomotec GmbH
User avatar
tgs
 
Posts: 833
Joined: Wed Oct 04, 2006 12:05 pm
Location: Germany

Re: Java on Mac OS X El Capitan

Postby steve1376656734 » Wed Nov 04, 2015 4:59 pm

I have a clean install of El Capitan on a brand new iMac and have just finished setting up my Servoy environment. I used version 1.8.0_65 from the Oracle site which installed with no issues and running the update utility from the control panel says this is the latest version available. However if I go to the Oracle download page at http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html I can see that there is both 8u65 and 8u66 available!

Were you getting any sort of error message?
Steve
SAN Developer
steve1376656734
 
Posts: 178
Joined: Fri Aug 16, 2013 2:38 pm
Location: Lanzarote

Re: Java on Mac OS X El Capitan

Postby swingman » Thu Nov 05, 2015 1:14 am

I have Servoy 7.4.4 running fine on Mac OS X 10.11.1 (Java 1.8.0_60 which I probably installed while on 10.10 Yosemite).
No issues to report.
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1159
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Re: Java on Mac OS X El Capitan

Postby ROCLASI » Thu Nov 05, 2015 10:13 am

The probably cause of these different experiences is that when you install the JDK you don't see this issue and when you install the JRE you do.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5205
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium


Return to Installation

Who is online

Users browsing this forum: No registered users and 3 guests