Skip to main content
Solved

Java 6 and Java 7 web plugin

  • February 27, 2013
  • 9 replies
  • 0 views

Forum|alt.badge.img+3
  • New Contributor
  • 6 replies

Hi All,

Java is driving me up the wall, I have the latest 6 2013 (1.6.0_41) update and it installs OK as a PKG, a prerequisite for Symantec AV live update (go figure...) however we have an application that launches a jnlp file that needs the Java web plugin. With Safari it refuses saying missing plugin, even though I tried the re-enabling article on the Apple website.

However Firefox asks me what I want to use to launch it and it works OK.

Java 7 update 15 installed manually works OK but installed as either a home grown snapshot PKG/DMG it does not. Install JRE7 by copying out the PKG from the Oracle package and deploying it still does not work..

How are you guys packaging and deploying JRE?

Thanks,

Barry

Best answer by rich.trouton

I'm using the Oracle-provided package installer and it seems to deploy fine.

For Java 6, I have a script to automate the Java 6 browser plug-in re-enable. If you want to take a look at it, it's available here:

https://github.com/rtrouton/rtrouton_scripts/tree/master/rtrouton_scripts/re-enable_java_6

Blog post here: http://derflounder.wordpress.com/2012/10/24/re-enable-the-apple-java-6-plug-in-for-use-with-web-browsers

I've got another script running that keeps the currently-installed version(s) of Java from being blocked by XProtect:

https://github.com/rtrouton/rtrouton_scripts/tree/master/rtrouton_scripts/xprotect_re-enable_java_6_and_7

Blog post here: http://derflounder.wordpress.com/2013/02/24/managing-java-browser-plug-in-settings-for-apples-xprotect-malware-protection

View original
Did this topic help you find an answer to your question?

9 replies

Forum|alt.badge.img+31
  • Employee
  • 920 replies
  • Answer
  • February 27, 2013

I'm using the Oracle-provided package installer and it seems to deploy fine.

For Java 6, I have a script to automate the Java 6 browser plug-in re-enable. If you want to take a look at it, it's available here:

https://github.com/rtrouton/rtrouton_scripts/tree/master/rtrouton_scripts/re-enable_java_6

Blog post here: http://derflounder.wordpress.com/2012/10/24/re-enable-the-apple-java-6-plug-in-for-use-with-web-browsers

I've got another script running that keeps the currently-installed version(s) of Java from being blocked by XProtect:

https://github.com/rtrouton/rtrouton_scripts/tree/master/rtrouton_scripts/xprotect_re-enable_java_6_and_7

Blog post here: http://derflounder.wordpress.com/2013/02/24/managing-java-browser-plug-in-settings-for-apples-xprotect-malware-protection


scottb
Forum|alt.badge.img+18
  • Valued Contributor
  • 1285 replies
  • February 27, 2013

My understanding is it's best to use the Oracle Java pkg and it has to be done on a live Mac - no pre-login option.
That's working for us.


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 6 replies
  • February 27, 2013

Thanks guys,

I will try adding the Oracle provided DMG for 1.7 to my image deployment tomorrow and see how that goes.

I will also give the scripts a try though I did try the KB article manually and it didn't work.

Cheers,

Barry


Forum|alt.badge.img+19
  • Contributor
  • 437 replies
  • February 27, 2013

barry, don't use the DMG, use the pkg inside of the DMG.
I've had no problems with the oracle pkg file, just make sure it's set to install after first boot in your image config.


Forum|alt.badge.img+16
  • Legendary Contributor
  • 7880 replies
  • February 27, 2013

Same here. We upload the pkg from Oracle and just deploy, using Smart Groups based on reporting from a couple of Extension Attributes e have in place. Works well for us, with only a couple of exceptions, but its not related to the pkg installer.
I've actually had more issues deploying Apple's version for the older OS releases, partly because the information on their kb articles has been consistently inaccurate.


Forum|alt.badge.img+24
  • Valued Contributor
  • 1892 replies
  • February 27, 2013

Yep, PKG from Oracle is working okay for us. If you're putting it into your imaging workflow though, I found that it has to be run at first boot otherwise you get "volume disabled" type messages in the jamf.log for that package during Imaging.


Forum|alt.badge.img+31
  • Employee
  • 920 replies
  • February 27, 2013

I've been using a script-driven process with the softwareupdate command line tool to deploy Apple's Java updates. So far, it's worked out pretty well.

I've posted what I'm doing here - http://derflounder.wordpress.com/2013/02/04/deploying-java-for-mac-os-x-10-6-update-12-using-the-softwareupdate-tool


Forum|alt.badge.img+3
  • Author
  • New Contributor
  • 6 replies
  • February 28, 2013

Hi All,

thank you for the great response!

Jared after first boot? My imaging workflow is straight through no reboots, OS then packages with some level of ordering, i only reboot at the end of the image process.

^^ OK figured that one out! The imho badly worded This package must be installed to the boot volume at imaging time was the option I was looking for.

I am fairly new to Casper and Mac imaging though I have a lot of experience in the Windows world in both packaging, imaging and scripting so I'm still trying to gauge what is best practice etc

Thanks,

Barry


donmontalvo
Forum|alt.badge.img+36
  • Legendary Contributor
  • 4293 replies
  • February 28, 2013

@BarryB LOL...add HP Autonomy Connected Backup (yep, the latest version too!) to the list of third party software with weak internal Mac development capabilities.

Somewhere out there, in a Microsoft show or seminar, some bozo is selling the enterprise world the idea of "one code set for all platforms"...resulting in the inevitable Adobe-esque "Let them pesky Mac guys do the work for us" mantra (we are the benevolent association for lazy, profit hungry developers).

I have the latest 6 2013 (1.6.0_41) update and it installs OK as a PKG, a prerequisite for Symantec AV live update (go figure...)

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings