PDA

View Full Version : Java for OS X 2012006 1.0 In Software Update




Graig
Oct 16, 2012, 06:46 PM
I installed this a few minutes ago and found that Java Preferences was no longer in my Utilities Folder. Anyone else have this problem?



gwang73
Oct 16, 2012, 07:25 PM
It is designed to remove the Java Preferences App.

http://appleinsider.com/articles/12/10/16/software-update-removes-apple-provided-java-applet-plug-in

Graig
Oct 16, 2012, 07:42 PM
Can you make this a bit clearer for me, I don't understand. why they would do this. What will happen if one wants to install Java 7 update 7?

drambuie
Oct 16, 2012, 08:56 PM
Go to java.com, click on "Downloads" on the red Java bar, then click on "All Java downloads" at the left. Java 7 is only available for OS X 10.7.3, or above.

gwang73
Oct 16, 2012, 09:55 PM
Apple has already stated that it will stop supporting Java directly for Mac OS and 1.6.x will be the last version supported by Apple. All future Java updates and releases, 1.7.x, will require us users to download it from Oracle directly. www.java.com

cntwtfrmynwmbp
Oct 17, 2012, 04:27 AM
Hi

Unfortunately I need Java for an app.

For security reason, every time I had to use that app I activated Java in "Java Preferences" and deactivated it again after usage.

After this update the Java Preferences are gone and it appears that I can't stop running Java system wide. (As now the mentioned app starts without the need of activating Java first).

Just to be sure: I'm on the safe side if I have deactivated the Java Plugin in all my browsers?

Thanks for an answer.

jafingi
Oct 17, 2012, 05:52 AM
why they would do this.

Before, it was up to Apple to push latest Java updates. Therefore, important security fixes was often delayed on OSX, because Apple had to push them.

Now, they've stated that you should download directly from the Java website, so you're always 100% up to date.

MacMan988
Oct 17, 2012, 11:01 AM
Has it removed java from my computer? If I type java -version in terminal, i get the following.

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

What does this mean ?

Weaselboy
Oct 17, 2012, 11:44 AM
Hi

Unfortunately I need Java for an app.

For security reason, every time I had to use that app I activated Java in "Java Preferences" and deactivated it again after usage.

After this update the Java Preferences are gone and it appears that I can't stop running Java system wide. (As now the mentioned app starts without the need of activating Java first).

Just to be sure: I'm on the safe side if I have deactivated the Java Plugin in all my browsers?

Thanks for an answer.

You do not need to disable the Java Virtual Machine... as it is only used for running local Java apps and it not a security concern.

The security issue is with the Java web plugin. This Apple update diabled the Apple provided Java 6 web plugin leaving the Java 7 web plugin alone (if you had it). Just turn off Java in the browser prefs and you are safe.

Has it removed java from my computer? If I type java -version in terminal, i get the following.

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

What does this mean ?

No... this update only removed the Java web plugin, not the Java virtual machine you are seeing with the command.

shareef777
Oct 17, 2012, 02:22 PM
You do not need to disable the Java Virtual Machine... as it is only used for running local Java apps and it not a security concern.

The security issue is with the Java web plugin. This Apple update diabled the Apple provided Java 6 web plugin leaving the Java 7 web plugin alone (if you had it). Just turn off Java in the browser prefs and you are safe.



No... this update only removed the Java web plugin, not the Java virtual machine you are seeing with the command.

Any idea on how to get the web plugin to point back to the 1.6 version as I'm finding a lot of apps I use (primarily Cisco UCS console and HP ILO) are not working with version 1.7.

Weaselboy
Oct 17, 2012, 03:14 PM
Any idea on how to get the web plugin to point back to the 1.6 version as I'm finding a lot of apps I use (primarily Cisco UCS console and HP ILO) are not working with version 1.7.

I have tried it myself, but this (http://service.parachat.com/knowledgebase/226/How-can-I-uninstall-Oracle-Java-7-and-reinstall-Apples-Java-6-on-my-Mac.html) looks like it would work by creating a symlink back to the old version.

cntwtfrmynwmbp
Oct 17, 2012, 03:18 PM
You do not need to disable the Java Virtual Machine... as it is only used for running local Java apps and it not a security concern.

The security issue is with the Java web plugin. This Apple update diabled the Apple provided Java 6 web plugin leaving the Java 7 web plugin alone (if you had it). Just turn off Java in the browser prefs and you are safe.



No... this update only removed the Java web plugin, not the Java virtual machine you are seeing with the command.


Ok, thanks a lot!

shareef777
Oct 17, 2012, 03:49 PM
I have tried it myself, but this (http://service.parachat.com/knowledgebase/226/How-can-I-uninstall-Oracle-Java-7-and-reinstall-Apples-Java-6-on-my-Mac.html) looks like it would work by creating a symlink back to the old version.

That didn't help. Applets are still stating to download the JRE. Is there any way to modify what the Java Web Start app uses? I noticed that a couple of my jnlp shortcuts open with "Java Web Start". When I'm trying to point it to 1.6 it opens and prompts to download a JRE, but when 1.7 is loaded it launches fine but actual applet then complains about the version of the JRE.

Graig
Oct 18, 2012, 10:48 AM
Will the Java virtual machine be updated as well anytime soon?

S.L.
Oct 18, 2012, 07:03 PM
When turning off Java for Safari, you don't get that annoying "refresh" problem when two finger swiping back and forth between pages. Is there any way to prevent this annoyance while keeping Java on? Or is this an annoyance that can be addressed by tweaking Java?

phyrexia
Oct 19, 2012, 01:09 AM
Will the Java virtual machine be updated as well anytime soon?

It's already been updated, but as others have said, you have to install it yourself. Apple no longer maintains Java for Mac OS X.

Graig
Oct 19, 2012, 07:59 AM
It's already been updated, but as others have said, you have to install it yourself. Apple no longer maintains Java for Mac OS X.

So we now have the plugin for version 7 and the virtual machine for 1.6.0_37 ?

Weaselboy
Oct 19, 2012, 10:03 AM
So we now have the plugin for version 7 and the virtual machine for 1.6.0_37 ?

This update from Apple removes the 1.6 web plugin while leaving the 1.6 virtual machine. If you install Java from Oracle you will get the 1.7 plugin and the 1.7 virtual machine. This will still leave the 1.6 virtual machine in place also.

Graig
Oct 19, 2012, 12:01 PM
This update from Apple removes the 1.6 web plugin while leaving the 1.6 virtual machine. If you install Java from Oracle you will get the 1.7 plugin and the 1.7 virtual machine. This will still leave the 1.6 virtual machine in place also.

Should I be installing the Java 7 up9 SDK then? It seems many are only installing the JRE.

Weaselboy
Oct 19, 2012, 12:05 PM
Should I be installing the Java 7 up9 SDK then? It seems many are only installing the JRE.

Unless you are developing Java apps or need the Java troubleshooting tools it provides, there is no need for you to install it.

Graig
Oct 19, 2012, 12:25 PM
[QUOTE=Weaselboy;16077266]Unless you are developing Java apps or need the Java troubleshooting tools it provides, there is no need for you to install it. [QUOTE]

Why is this displayed then in Terminal and not the info for version 7? Ive read in another forum that the SDK will fix that. I can give you a link to that if you need to read it.

Code:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Weaselboy
Oct 19, 2012, 12:30 PM
[QUOTE=Weaselboy;16077266]Unless you are developing Java apps or need the Java troubleshooting tools it provides, there is no need for you to install it. [QUOTE]

Why is this displayed then in Terminal and not the info for version 7? Ive read in another forum that the SDK will fix that. I can give you a link to that if you need to read it.

Code:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

Because the 7 JRE only installs the web plugin and leaves the default 1.6 used for applications alone. The security risks in the news all relate to the web plugin.

If you install the 7 JDK that will give you 1.7 for local applications also. Just be aware it can break local applications. For example I use Crashplan for backup and installing the 7 JDK along with the latest Apple update (which removed the Java preferences app) broke the Crashplan app. Crashplan released a workaround that involved manually editing a .plist file to point the app back to the old 1.6 version of Java for applications.

Graig
Oct 19, 2012, 12:39 PM
[QUOTE=Graig;16077441][QUOTE=Weaselboy;16077266]Unless you are developing Java apps or need the Java troubleshooting tools it provides, there is no need for you to install it.

Because the 7 JRE only installs the web plugin and leaves the default 1.6 used for applications alone. The security risks in the news all relate to the web plugin.

If you install the 7 JDK that will give you 1.7 for local applications also. Just be aware it can break local applications. For example I use Crashplan for backup and installing the 7 JDK along with the latest Apple update (which removed the Java preferences app) broke the Crashplan app. Crashplan released a workaround that involved manually editing a .plist file to point the app back to the old 1.6 version of Java for applications.

Thank you for explaining this. It's been hard trying to get an answer, but how will the default 1.6 will be updated in the future? Sorry for so many questions but I like to know what I am doing before the plunge as it can save a lot of problems when it's too late. I appreciate your help.

LukeWorm
Oct 19, 2012, 04:45 PM
This update from Apple removes the 1.6 web plugin while leaving the 1.6 virtual machine. If you install Java from Oracle you will get the 1.7 plugin and the 1.7 virtual machine. This will still leave the 1.6 virtual machine in place also.

From the java.com download page: "installing Java 7 will disable the ability to use Apple Java 6 on your system." I read it to mean all of Java 6, not just the plugin.

cedwhatev
Oct 19, 2012, 08:12 PM
Yeah, I'm getting screwed up as well. Now that I have installed Update 9, one of the sites I use requires 32 bit Java, but now I can't figure out how to switch it from 64 bit. Does V7U9 only run in 64 bit??

MacMan988
Oct 20, 2012, 01:26 AM
If you reinstall the OS now, Java preferences is gonna be there in the launch pad and if you check updates, theres nothing gonna come up other than an iTunes update.

BlaqkAudio
Oct 20, 2012, 06:30 AM
Thank you for explaining this. It's been hard trying to get an answer, but how will the default 1.6 will be updated in the future? Sorry for so many questions but I like to know what I am doing before the plunge as it can save a lot of problems when it's too late. I appreciate your help.
It won't. Apple is done providing updates for Java, that's why Oracle released Java 7 for OS X.

Graig
Oct 20, 2012, 08:10 AM
It won't. Apple is done providing updates for Java, that's why Oracle released Java 7 for OS X.

I realize that Apple will not be updating the 1.6 Virtual Machine. How does one update it to 1.7, will Oracle be be handling this is a future update or do we install the 7up9 SDK rather than the JRE?

Weaselboy
Oct 20, 2012, 09:43 AM
From the java.com download page: "installing Java 7 will disable the ability to use Apple Java 6 on your system." I read it to mean all of Java 6, not just the plugin.

Nope. The Apple Java 6 VM is still there. You can see it in the folder below. I know because I had to manually change a plist file for the Crashplan (https://crashplan.zendesk.com/entries/22199717-apple-update-java-1-06-0-37-causes-crashplan-to-not-start-for-anyone-running-java-1-6-alongside-1-7) app to make it ignore Java 7 and use 6 in the folder I showed.

/System/Library/Java/JavaVirtualMachines/

----------

I realize that Apple will not be updating the 1.6 Virtual Machine. How does one update it to 1.7, will Oracle be be handling this is a future update or do we install the 7up9 SDK rather than the JRE?

If you install the 1.7 JDK you will get the 1.7 VM. Be careful though, because this will make 1.7 (Java 7) take priority and if you have apps that require Java 6 (like Crashplan) they will not work.

The old Java Preferences in /Applications/Utilities is gone also, so you have no way to arrange Java priority like before. I have read some Terminal voodoo that sets Java priority, but have not tried it myself.

ibosie
Oct 20, 2012, 01:18 PM
I need to go back to the web plug-in that was installed prior to this update. Unfortunately my works remote desktop-in-a-browser doesn't play nicely with this Java 7 update 9. Can I use my Time Machine to restore the Apple supplied version? I have another Mac that hasn't been updated if it's possible to copy something from there?

Edit: ah found this giving it a try

http://service.parachat.com/knowledgebase/226/How-can-I-uninstall-Oracle-Java-7-and-reinstall-Apples-Java-6-on-my-Mac.html
sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

Nope didn't work.

ibosie
Oct 20, 2012, 03:31 PM
Finally managed to get back to 6 update 35

http://www.java.com/en/download/installed.jsp
Your Java version: Version 6 Update 35

I restored Wednesday 17 Oct version of System/Library/Java from Time Machine then applied the symbolic link:

sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

Weaselboy
Oct 24, 2012, 03:03 PM
I need to go back to the web plug-in that was installed prior to this update. Unfortunately my works remote desktop-in-a-browser doesn't play nicely with this Java 7 update 9. Can I use my Time Machine to restore the Apple supplied version? I have another Mac that hasn't been updated if it's possible to copy something from there?

Edit: ah found this giving it a try

http://service.parachat.com/knowledgebase/226/How-can-I-uninstall-Oracle-Java-7-and-reinstall-Apples-Java-6-on-my-Mac.html
sudo ln -s /System/Library/Java/Support/CoreDeploy.bundle/Contents/JavaAppletPlugin.plugin /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin

Nope didn't work.

I see Apple has posted an official tech note (http://support.apple.com/kb/HT5559?viewlocale=en_US&locale=en_US) on how to get the Java 6 plugin back.

ibosie
Oct 29, 2012, 05:42 PM
Thanks so much for the link - tried it on another Mac and works perfectly.