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: Java rendezvous classes and linux



At 8:55 AM +0200 7/28/04, Peignier Timothee wrote:
Roger Pantos wrote:
If anyone has any thoughts on the "standard" install location for the JDK on a Linux, FreeBSD, etc. system, I'd love to hear them.

The best way is to use JAVA_HOME environment variable. For example my JAVA_HOME is set to : /usr/local/java/j2sdk

Thanks Tim (and everyone else who suggested JAVA_HOME).

One concern I have with JAVA_HOME is that it does not appear to get set automatically - it's not set on Mac OS X, or any of the FreeBSD/Linux/Solaris systems I just checked. (Or Windows, for that matter.)

Does the user have to set up JAVA_HOME manually by fiddling with their .login? Does everyone do this?

Also, even when set, does it refer to the JDK or the JRE? They're often different.

I guess I can add some logic to use JAVA_HOME if it's defined, while still allowing the user to override it on the commmand line.

So I didn't have all this problem to compile (with my dirty JDK=/usr)

So can you compile the Java support without modifications if you use JDK=/usr/local/java/j2sdk ?



thanks,

Roger.
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.


References: 
 >Java rendezvous classes and linux (From: Peignier Timothee <email@hidden>)
 >Re: Java rendezvous classes and linux (From: Roger Pantos <email@hidden>)
 >Re: Java rendezvous classes and linux (From: Roger Pantos <email@hidden>)
 >Re: Java rendezvous classes and linux (From: Peignier Timothee <email@hidden>)
 >Re: Java rendezvous classes and linux (From: Roger Pantos <email@hidden>)
 >Re: Java rendezvous classes and linux (From: Peignier Timothee <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.