Posted on 10-23-2016 08:39 PM
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.
Posted on 10-23-2016 08:56 PM
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 /
Posted on 10-23-2016 09:50 PM
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.
Posted on 10-24-2016 03:27 AM
You can right click to show package contents, drag the JavaAppletPlugin.pkg out and drop into Casper Admin.