Java Preferences won't start
Mike Swingler
swingler at apple.com
Mon May 20 08:01:24 PDT 2013
What does "/usr/libexec/java_home -V" say? If 1.8 isn't in there, try "/usr/libexec/java_home -X".
Regards,
Mike Swingler
Apple Inc.
On May 20, 2013, at 6:04 AM, Anthony Petrov <anthony.petrov at oracle.com> wrote:
> I've tried that to no avail. I've even restarted my Mac, still the same issue - java_home only sees the 7u10 by default. I.e.:
>
> [anthony at mac ~]$ set | grep JAVA
> [anthony at mac ~]$ /usr/libexec/java_home
> /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home
> [anthony at mac ~]$ /usr/libexec/java_home -v 1.8
> /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home
>
> So, it does see the 1.8 installation when requested explicitly, but won't choose it by default for some reason.
>
> Any clues?
>
> PS. My PATH doesn't contain anything suspicious either:
>
> [anthony at mac ~]$ set | grep PATH
> PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/export/anthony/bin/mac:/export/anthony/bin
>
> --
> best regards,
> Anthony
>
> On 05/18/13 01:30, Michael Hall wrote:
>> On May 17, 2013, at 9:47 AM, Anthony Petrov wrote:
>>
>>> In my .bash_profile I just have the following:
>>>
>>> export JAVA_HOME=`/usr/libexec/java_home`
>>
>> Why do you have that?
>> If you comment it out and then start a new shell window, or quit and restart Terminal, what happens?
>> I know you said you did unset but who knows?
>>
>> Michael Hall
>>
>> trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz
>>
>> HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe
>>
>> AppConverter convert Apple jvm to openjdk apps http://www195.pair.com/mik3hall/index.html#appconverter
>>
>>
>>
>>
>>
More information about the macosx-port-dev
mailing list