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: ant error with Java 1.5




On Jan 24, 2006, at 12:39 AM, Matt wrote:

JAVACMD=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/ Commands/javac

You would do better, I believe, by setting the path appropriately:

From my .profile:

export PATH="/System/Library/Frameworks/JavaVM.framework/Versions/1.5/ Home/bin
:/usr/local/bin:${PATH}"


This would also work from the ant launcher script, or the environment.plist file.

Scott

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

This email sent to email@hidden
References: 
 >ant error with Java 1.5 (From: Matt <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.