-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave Howorth wrote:
Daniel Bornkessel wrote:
On Monday 04 June 2007 15:52:59 Dave Howorth wrote:
Patrick Shanahan wrote:
* Dave Howorth
[06-04-07 06:46]: I'm trying to run a Java program from a cron job and have discovered that JAVA_HOME and friends aren't set. What's the best way to set them for cron jobs?
<snip>
Cheers, Dave Since we switched to jpackage-style packaging, the currently used JRE is always located at: /usr/lib/jre (/usr/lib64/jre on x86_64 and ppc64) and the JDK at: /usr/lib/jvm/java (/usr/lib64/jvm/java on x86_64 and ppc64)
Ahh, that's good to know :) I've got some 64-bit and some 32-bit boxes, so it's also one more thing to have to remember :(
Thanks, Dave
Something to watch out for is the java 1.4.x version from 9.3 seems to have been 32 bit (I do not work with code on that machine so the Java aetup was a little basic), and the update installation from 9.3 retained the 32 bit stuff, I recently upgraded to 1.5.x on 10.2 which is 64 bit java and result was a little messy, not everything adjusted to the change in setup. With odd and sods linking into the 32bit library structure. I think I have fixed it, but I did not take notes on what ended up being not quite right.... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGZE4KasN0sSnLmgIRAnDvAKC1vhWQkSU/maPvlxetxhXLXxmt9wCfW/3i 143giANGaiEC8wa4HIZEF4c= =Rv9S -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org