Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

apple support community

Hi all,


I'm not sure if it is the right forum to ask these questions.


I need to run an application using JRE 6 on mac osx(Lion). I have installed java 6 by the steps in:


http://support.apple.com/kb/HT5559?viewlocale=sv_SE


The problem is that this update also removes the Java Preferences application from the Utilities menu. As well as, when I try to run my jnlp file there is an error which "To open this Web Start application, you need to download the Java Runtime Environment."


How can I set Runtime Parameters for example if I cannot access to the Java Preferences? how to add Applet Runtime Parameters?


Thanks in advance

Mac Pro, Mac OS X (10.7.5)

Posted on Mar 10, 2013 3:15 PM

Reply
23 replies

Mar 13, 2013 4:05 PM in response to don.ghn

If you successfully installed the Java updater from Apple, you have Java 6 runtime.


Confirmation of which Java runtime version you have installed can be had by launching the terminal and entering (or copy and paste):

java -version


When you hit the "enter" key it will return something like:

java version "1.6.0_43"


This is Java 6 runtime (the second digit is the main version indicator, don't ask me why. it just is.)


Your issue is that you cannot enable java in your browser without a Java preferences tool.


Your answer is to install the Java 7 plugin from Oracle. That installs a Java preferences System Preferences pane.


You should know that Oracle has declared Java 6 is "End of life". There will not be any further development of the Java 6 runtime, so you should move along.

Mar 14, 2013 10:58 AM in response to don.ghn

You could locate a machine that has the Apple Java Preferences.app (in /Applications/Utilities/ ) and copy it to the 10.7.2 machine, but you will probably have to revert the plugin configuration.

There are instructions available for that, but you'll need to do some searching on line. Doing a search on this support site for "java disabled" would be a good start.


In reality, most OS X machines running 10.7 and above that have internet access are going to have the Java 6 plugin disabled.


I'm not sure what good it would do to assure it runs with the java 6 plugin on OS X 10.7 if most of the users are going to have had the plugin disabled anyway. Using the java 6 plugin in OS X 10.7+ is unsupported by Apple, and requiring users to roll back isn't realistic.

10.7+ users should just update their 10.7 software so they can run the Java 7 plugin.


Doing otherwise would really just be irresponsible, considering the significance of the vulnerabilities.


Every developer is going to need to write to vendor supported configurations. If that can't be done, then someone is in the wrong business. /soapbox

Mar 14, 2013 2:23 PM in response to Michael Wineke

you mean that my program needs java 6 plugin beacause as I mentioned beforeI installed Java 7 on OS x 10.7.3, 10.7.5 and 10.8.2 at first, then I tried to run my JWS applications (which use JOGL1 ) but they showed only blank white pages then I enable Java 6 according to the link:


http://support.apple.com/kb/HT5559?viewlocale=sv_SE


after that they warned that there is no JRE , I installed Java7 again and they work.

Actually this is my first time which I am programming in Java and Ican not understand how they are related to eaach other but I have to explain it in my erport. why is different between the java 6 plugin and 7? why my program needs both? doing the steps in the mentioned link does not harm to mac systems?

Mar 14, 2013 3:19 PM in response to don.ghn

There are two primary functional components to Java.

Java Runtime

Java Plugin


Apple merely disabled the Java 6 plugin, leaving the Java 6 Runtime installed and operational.


Installation of the Java 7 Plugin is the recommended and supported solution for OS X 10.7+.


The linked instructions restore the Java 6 plugin. It should work fine after that (if you ignore the proven vulnerabilities that prompted Apple to disable it).


The Java Runtime can run Java programs, but if you need a GUI user interface, you commonly use the plugin's functionality. At least that is my understanding...

apple support community

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.