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



Roger Pantos wrote:
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?

Yes, user have to set it. Most of script using java are using it, so it's already setup for many java user/programmer.


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

If you have the jdk you have the jre in ?! They are most often in the same directory. You can compile mdnsd without jdk so, it's not a big problem.


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.

The best way again :)

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 ?
Works great :)

Roger.
Tim
--
http://people.tryphon.org/~tim/
_______________________________________________
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>)
 >Re: Java rendezvous classes and linux (From: Roger Pantos <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.