Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: can I get maven onto my Mac?



On 10/9/06, Paul Archibald <email@hidden> wrote:

209-148-127-8:~ paularchibald$ export JAVA_HOME=usr/java/jdk1.5.0_02

I doubt that is a correct path to the JDK ... Java on Mac OS X doesn't live at that location and Apple is the only supported provider for Java on the Mac.

In general you should set JAVA_HOME to "/Library/Java/Home" if you
want to use the default version of Java for the system (currently
defaulted to Java 5 on an up-to-date Mac OS X 10.4 system).

If you want to use a specific version of Java you would use a path
like the following
/System/Library/Frameworks/JavaVM.framework/Versions/<version
number>/Home where <version number> is 1.3.1, 1.4.2, 1.5.0, 1.6.0,
etc. depending on the versions of Java found on the system.

-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: can I get maven onto my Mac? (From: Paul Archibald <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.