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

To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?

PREFACE: I've read most of the posts on here that discuss this issue but none have provided a real answer to this.


I'm on Moutain Lion w/ all the latest updates from the App Store.


I've installed Oracle's latest Java JDK (7u11) because of the recent security issue. When I go to Terminal and type in "java -version", it's the latest version of Oracle's 1.7. I don't have Apple's 1.6 version of Java on my system. I've verified that by checking in the appropriate System folder for the 1.6 JRE & JDK.


So all seems to be fine so far and per Apple's recommendation, I'm using Oracle's latest version of Java.


So when I go to run Charles debugging proxy, which is a Java desktop app, I get the following message in a dialog:


"To open "Charles,” you need a Java SE 6 runtime. Would you like to install one now?"


If I have the latest Oracle Java version installed, why am I being prompted to install Apple's 1.6 version?


I've had this prompt in the past and went through the install before. Contrary to what another poster in another thread says, choosing install at the prompt ignores the fact that 1.7 is installed and does in fact install Apple Java 1.6. It's an outdated version of Java which I don't want on my system.


Why do I need to install Apple's 1.6 when Oracle's Java 1.7 latest is already there?


Rey

Posted on Jan 14, 2013 11:27 AM

Reply
59 replies

Jan 14, 2013 2:25 PM in response to Rey Bango

Rey Bango wrote:


If I have the latest Oracle Java version installed, why am I being prompted to install Apple's 1.6 version?


Rey


You would need to ask the "Charles" developer that question. There seem to be quite a few issues regarding Java 1.6 and 1.7 with the Oracle version causing the most trouble. This, of course, is not an Apple problem to solve. The Java community and Oracle need to sort out their troubles.


You can, of course, have both versions on your system but you need to do some terminal work to switch between them. Apple has a tech support document that explains how to do that.

Jan 17, 2013 6:15 PM in response to Rey Bango

Rey Bango wrote:


I appreciate you trying and you may be absolutely correct but I'd like to continue to explore this since Apple does recommend Oracle's Java instead of theirs.


Thank you for your help.

Where do they do that? They are dropping support for Java and leaving that up to Oracle; however, I couldn't find anything that even hinted that Apple suggested using Oracle's Java 7. I assume there is something that details the drop in support and that Mac users will have to look to Oracle, but I couldn't find that, either.

Jan 18, 2013 10:33 AM in response to Rey Bango

For what it's worth I recall reading an explanation somewhere about how to resolve this situation. It has to do with how the installed Java identifies itself. The poster explained that if you add the Apple version name in the Java 7 preference pane an applet will no longer insist on using Java 6 and the request to install Java 6 will stop.


System Preferences -> Java -> Java -> View -> User -> Runtime parameters.


Now the bad news is that I have been unable to retrace my steps to that post but I believe it was here in the Apple discussion forums. Sorry but maybe someone else will pick up on this.

To open you need a Java SE 6 runtime. Why, when I have 1.7 installed?

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