Java Preferences won't start

Anthony Petrov anthony.petrov at oracle.com
Mon May 20 06:04:08 PDT 2013


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