Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: oracle java 1.7 wasn't found
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oracle java 1.7 wasn't found




On Apr 28, 2012, at 8:01 AM, email@hidden wrote:

What version of OS X are you running. It won't work at 10.6.5 and below. Mike

I thought the installer wouldn't work at all for anything other than 10.7.
java -version should give you a correct result if it did.
You might try disabling everything else in Java Preferences and not just rely on the order.

There are non-Oracle builds at jdk7u4 that'll work 10.6.8, I'm using one, see below

the java_home command was recommended at some point.

java -version
openjdk version "1.7.0-jdk7u4-b21"
OpenJDK Runtime Environment (build 1.7.0-jdk7u4-b21-20120423)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)

/usr/libexec/java_home -v 1.7 --exec java -version
openjdk version "1.7.0-jdk7u4-b21"
OpenJDK Runtime Environment (build 1.7.0-jdk7u4-b21-20120423)
OpenJDK 64-Bit Server VM (build 23.0-b21, mixed mode)

/usr/libexec/java_home -v 1.6 --exec java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-10M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)

Exactly whats going to happen with multiple JRE's from 10.7 on isn't exactly clear although Scott Kovatch has been talking about a/the 'shared' jre. 
Java Preferences I'm pretty sure isn't supposed to continue being supported. I thought I saw something that made me think java_home probably wouldn't be either. 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >oracle java 1.7 wasn't found (From: Dmitry Markman <email@hidden>)
 >Re: oracle java 1.7 wasn't found (From: "email@hidden" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.