Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package



Yes, /usr/libexec/java_home should give the path to any system JDK or developer JDK installed in either the /System/Library, /Library, or ~/Library (Java/JavaVirtualMachines) locations.

It should not be necessary to create a symlink, just move the JVM you want to be your $JAVA_HOME up to the top in Java Preferences, and set $JAVA_HOME in your .bashrc, or other shell config you use. By default, if you use the Java command line tools that are already on your path from /usr/bin, they will just redirect to the right place automatically.

I'm curious, Jakub, what are you using the full path to the JDK for?

~Mike

On Nov 16, 2010, at 3:40 AM, Tracy Snell wrote:

> Won't /usr/libexec/java_home give you the path to the JDK you'd like if the JDKs are installed correctly? Asking Mike not you Jakub. :)
>
> On Nov 16, 2010, at 4:40 AM, Jakub Skoczen wrote:
>
>> Thanks fo the explanation Mike! I understand you Guys had reasons for
>> what you have done, I'm just not entirely happy with the outcome :).
>> So updating JDKs is left to the user now, since the JVM in /Library
>> will never be overritten, even for minor or build updates. I guess
>> I'll create a "current" or "1.6" symlink there that I will update
>> manually and point my Java apps to it.
>

 _______________________________________________
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: 
 >Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Jakub Skoczen <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Jakub Skoczen <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Hendrik Schreiber <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Jakub Skoczen <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Tracy Snell <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Jakub Skoczen <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Tracy Snell <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Jakub Skoczen <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Mike Swingler <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Jakub Skoczen <email@hidden>)
 >Re: Java API docs (docs.jar) gone after installing 10.6 Update 3 Java Developer Package (From: Tracy Snell <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.