On Monday 04 June 2007 12:43:09 Dave Howorth wrote: > 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? > > I'm presently on 9.3 but will be moving to 10.2 shortly. > > Cheers, Dave
On >= 9.3, execute source /usr/share/java-utils/java-functions to set $JAVA_HOME prior versions had a script called setJava <options> to set this variable. Regards, Daniel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]