Java 8x managing updates via JSS

Cook
New Contributor II

Dear JSS Community,

Just trying to see how everyone managing Java updates these days? Appears new releases of Java no longer have a .pkg file to drop into Casper admin and apply policy. I have tried using composer however this doesn't appear to work.

the .app file association doesn't appear to be supported in the JSS?

Thanks Oracle :)

Any suggestions would be cool all thanks.

3 REPLIES 3

Cook
New Contributor II

Hmm may also be able to mount the Java installer and use this

/usr/sbin/installer -pkg "/Volumes/Java 8 Update 111/Java 8 Update 111.app/Contents/Resources/JavaAppletPlugin.pkg" -target /

rquigley
Contributor

Rich Trouton has created a script for exactly this purpose.

https://derflounder.wordpress.com/2016/07/29/automating-oracle-java-8-jdk-updates/

Then with a Smart group detailing users and what versions they are running, you should be able to automate this process.

If you aren't keen on sucking bandwidth for users when they are at home, you could either set it with Network Segments or change the URL to a server on-premises where you can put the file and have it grab it from there instead, which also wouldn't work when they were at home.

lunddal
Contributor

You can right click to show package contents, drag the JavaAppletPlugin.pkg out and drop into Casper Admin.