Java SE 6

Hi there,


yesterday I installed the pre-release of OSX 10.11 and I can't open the Adobe Illustrator CS6.


This is the error that I get:


"Adobe Illustrator CS6" cannot be opened.

This application requires the legacy Java SE6 runtime which is unavailable for this version of OS X.


Thanks,


Mauro Vime

Accepted Reply

As mentioned by suelicious, the web article by Oliver Dowling gives the following solution. I did this and it allowed Photoshop to run!


Download the latest Java from Oracle and then...


Here is the steps I did:


The solution is to edit

/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Info.plist
and change:


<
key
>JVMCapabilities</
key
>

<
array
>

   
<
string
>CommandLine</
string
>

</
array
>


To:


<
key
>JVMCapabilities</
key
>

<
array
>

   
<
string
>CommandLine</
string
>

   
<
string
>JNI</
string
>

   
<
string
>BundledApp</
string
>

</
array
>


- Save the changes and start up Photoshop - no problems!


NOTE... depending on what JDK you have loaded, you will need to change the 'jdk1.8.0_45.jdk' to whatever you have loaded.


To figure that out, simply look at what is in /Library/Java/JavaVirtualMachines/

Replies

If you do not find the directory, consider checking if you have a different version of Java installed. If you don't find the file consider reinstalling both the JRE and the JDK. Here is the process, which worked for me.


Java Install on OSX 10.11+

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

jdk-8u51-macosx-x64.dmg

http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

jre-8u51-macosx-x64.dmg

MacOSX Java Developer Package

Java Developer Package for OS X 2013-005.dmg

Navigate to:


/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Info.plist

and change:

<
key
>JVMCapabilities</
key
>

<
array
>

   
<
string
>CommandLine</
string
>

</
array
>



To:

<
key
>JVMCapabilities</
key
>

<
array
>

   
<
string
>CommandLine</
string
>

   
<
string
>JNI</
string
>

   
<
string
>BundledApp</
string
>

</
array
>

The supported way to disable System Integrity Protection in those cases where it's truly necessary is to boot into the Recovery partition and turn System Integrity Protection off from there with the csrutil tool.


$ csrutil

usage: csrutil <command>

Modify the System Integrity Protection configuration. All configuration changes apply to the entire machine.

Available commands:

disable

Disable the protection on the machine. Requires a reboot.

enable

Enable the protection on the machine. Requires a reboot.

status

Display the current configuration.


The kext-dev-mode and rootless boot-args are being removed from OS X El Capitan and will no longer work.


--gc