Skip to main content
Question

Java 2012-006

  • October 17, 2012
  • 34 replies
  • 81 views

Forum|alt.badge.img+15

Anyone else affected by this update which removes the Java 6 browser plugin? We have a java web application that requires Java 6 and it is no longer usable after this update is installed.

34 replies

Forum|alt.badge.img+10
  • Contributor
  • October 17, 2012

I'm currently working on this myself...

Based on the documentation (http://support.apple.com/kb/HT5493) I think you also need to install the Oracle plugin.


Forum|alt.badge.img+18
  • Valued Contributor
  • October 17, 2012

you have to go get the installer from java.com to get a web plugin again.


Forum|alt.badge.img+18
  • Valued Contributor
  • October 17, 2012

http://www.java.com/en/download/mac_download.jsp?locale=en


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • October 17, 2012

Oracle only offers a Java 7 plugin. Anybody come up with a way to get a Java 6 plugin functioning again?


Forum|alt.badge.img+3
  • New Contributor
  • October 17, 2012

We are hitting the same thing. We have apps that require Java SE6. Haven't found a solution yet.


Forum|alt.badge.img+18
  • Valued Contributor
  • October 17, 2012

In British Columbia we have a online student information system called BCeSIS. It doesn't work with Java 7 so the Oracle plug in is not a solution. Luckily only a few of our machines have got the update and I've disabled updates for now. I tried to download the Java 2012-005 update from Apple's site, but it actually grabs the 006 update. So I need to find a way to at least go back to 005.


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • October 17, 2012

I have a copy of the 005 update. Problem is that the machine knows that it already has 006 installed and won't let you install 005. If there's a way around that, we might be able to get somewhere.

P.S. our problem is also because of eSIS.


Forum|alt.badge.img+18
  • Valued Contributor
  • October 17, 2012

if you grab /Library/Internet-Plugins/Java... from a 005 update machine and put it back on a machine that has the 006 update it just works.


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • October 17, 2012

The JavaAppletPlugin.plugin in /Libary/Internet Plug-Ins/ is just an alias. The real file lives in /System/Library/Java/Support/CoreDeploy.bundle/Contents/

Restoring this file from the 005 java update appears to work.


Forum|alt.badge.img+18
  • Valued Contributor
  • October 17, 2012

I believe that the JavaAppletPlugin.plugin at /Library/Internet Plug-Ins/JavaAppletPlugin.plugin is just an alias.

This points to /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin

I wonder if it's possible to just replace that one file with the one from 005.


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • October 17, 2012

I built a DMG in Composer that contains the alias in /Library/Internet Plug-Ins, the actual Plugin file in CoreDeploy.bundle/Contents and the Java Preferences.app in Utilities. Just push it out after that Java 006 update and all seems to be well again.


Forum|alt.badge.img+18
  • Valued Contributor
  • October 17, 2012

I just tried to build a similar package, but no go on the first attempt. Did you have to make any special permissions changes ? When I also included that Java Preferences.app in that package, but it won't run.


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • October 17, 2012

For good measure, I'm also running the following script prior to pushing out the package.

#!/bin/sh

rm -rf /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/
rm -rf /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin/

Forum|alt.badge.img+18
  • Valued Contributor
  • October 17, 2012

I added in your script as part of the process and all appears to be good.

The only slight issue I saw was the usual enabling of the "Inactive" plug in didn't seem to work. I had to go into the Java Preferences app and check the "Enable applet plug-in" box.

Thanks for your help cbrewer !


Forum|alt.badge.img+14
  • Contributor
  • October 18, 2012

I have not had any luck with replacing those two files. However i was able to use Pacifist to install Java 2012-005

How can I get around the installer package failing when -A newer version of this package is already installed?

/usr/sbin/jamf is version 8.62
Executing Policy Mac OS X 10.7 PS Gradebook Fix...
[STEP 1 of 3]
Mounting smb://casper.sjsd.k12.mo.us/CasperShare to /Volumes/CasperShare...
[STEP 2 of 3]
Running script RemoveJava.sh...
Script exit code: 0
Script result:
[STEP 3 of 3]
Copying Java for Mac 10.7...
Installing Java for Mac 10.7...
Installation failed. The installer reported: installer: Error - A newer version of this package is already installed.
Unmounting file server...

Everyone is getting really inpatient with me to get this fixed!! Thank you in advance, I don't know what I would do without this site sometimes!


Forum|alt.badge.img+18
  • Valued Contributor
  • October 18, 2012

packageutil --forget whateverthepackagenameis
most likely will help you out.


Forum|alt.badge.img+18
  • Valued Contributor
  • October 18, 2012

or pkgutil sorry


Forum|alt.badge.img+18
  • Valued Contributor
  • October 18, 2012

and this is the list of pkgs to forget
com.apple.pkg.JavaEssentials
com.apple.pkg.JavaForMacOSX107
com.apple.pkg.JavaMDNS
com.apple.pkg.JavaSecurity
com.apple.pkg.JavaTools


Forum|alt.badge.img+14
  • Contributor
  • October 18, 2012

Where would the newer current version of Java that I need to forget live? I looked in /Library/Receipts/


Forum|alt.badge.img+14
  • Contributor
  • October 18, 2012

/var/db/receipts/?


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • October 18, 2012

Andy - try running the 2012-006 Java installer and then run this package afterward. We've been mass deploying this solution and it seems to work really well. As a bonus, with this method you actually have an up-to-date build of Java.

http://temp-share.com/show/YgFH9rRGy


Forum|alt.badge.img+14
  • Contributor
  • October 18, 2012

I attempted this method, however prior to the grade book applet launching the Java 7 box displays with the ... ... ... ... blinking as if it is loading, but it never loads. Im getting desperate!


Forum|alt.badge.img+15
  • Author
  • Esteemed Contributor
  • October 18, 2012

Our machines don't have Java 7 on them. Have you tried to remove 7?

http://www.java.com/en/download/help/mac_uninstall_java.xml


Forum|alt.badge.img+18
  • Valued Contributor
  • October 18, 2012

Is there a way to block the Java update install process for machines not yet broken by the update?


Forum|alt.badge.img+14
  • Contributor
  • October 18, 2012

I did run the command
sudo rm -fr /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
then installed Java 2012-006
then ran ran JavaAppletPlugin dmg when i attempt to open the java applet it prompts me "To open this Web Start application you need to download Java..."

I think I may be back to installing 2012-005 with pacifist....

Any and all suggestions are appreciated and welcome!