Legacy java doesn't work in 10.13.1 beta 3

Installing 10.13.1 beta 3 apparently revs something so that a reported Java installation is now version "15.0.2":


hawkeye:~ maser$ cat /System/Library/Frameworks/JavaVM.framework/Resources/Info.plist

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-/

<plist version="1.0">

<dict>

<key>BuildMachineOSBuild</key>

<string>16B2657</string>

<key>CFBundleDevelopmentRegion</key>

<string>English</string>

<key>CFBundleExecutable</key>

<string>JavaVM</string>

<key>CFBundleIdentifier</key>

<string>com.apple.JavaVM</string>

<key>CFBundleInfoDictionaryVersion</key>

<string>6.0</string>

<key>CFBundleName</key>

<string>Java Virtual Machine</string>

<key>CFBundlePackageType</key>

<string>FMWK</string>

<key>CFBundleShortVersionString</key>

<string>15.0.2</string>



However, this version of Java doesn't work with apps that still apparently rely on this (like SPSS 24) and you can't install apple legacy Java 15.0.1 over this because 15.0.2 is "newer".


Hopefully this means that a "15.0.2" version will be showing up from Apple, but otherwise, this is a brand new issue introduced in this beta, so be aware...

Same here. Annoying pop-up every 10 seconds or so.

I was able to install the Legacy Java 15.0.1 version over the newer version (15.0.2 after updating to High Sierra 10.13.1 Beta 3) with Pacifist. Simply highlight the entire package, select Install, and replace the current installation when prompted in order to overwrite the newer version. This restored legacy Java functionality to my system.

There is another solution for this issue :


Backup the old Info.plist just to be sure :


sudo cp /System/Library/Frameworks/JavaVM.framework/Resources/Info.plist /System/Library/Frameworks/JavaVM.framework/Resources/Info_OLD.plist


Then, open and modify the original Info.plist with admin privileges :


sudo nano /System/Library/Frameworks/JavaVM.framework/Resources/Info.plist


Remplace 15.0.2 by 15.0.1 and save

Quit cfprefsd in the activity monitor, and then, try to install Java for OS X 2015-001


And it should work again !

Except you have to disable SIP for this, right? (It won't let me modify the plist otherwise...)


We don't want to do that on hundreds/thousands of Enterprise systems. That would be awful.

Did you have to disable SIP to do this?

Still borked in beta 4.

So as an update to this (based on some feedback I got from my ticket).


This breaks java: 10.13.0 --> 10.13.1 beta 3 full installer (breaks Java) --> 10.13.1 beta 4 (still broken)


This does not: 10.13.0 --> 10.13.1 beta 4 directly. You can still install legacy Java SE 6.


I would encourage anybody on the "install every beta seed" train to update their bug reports asking that "beta 5" fix what "beta 3" broke w.r.t. Java SE 6 if you need it.

Legacy java doesn't work in 10.13.1 beta 3
 
 
Q