Mailinglist Archive: opensuse (2040 mails)

< Previous Next >
Re: [opensuse] JAVA_HOME and cron scripts
  • From: "Hugo Garcia" <hugo.a.garcia@xxxxxxxxx>
  • Date: Mon, 4 Jun 2007 05:20:50 -0600
  • Message-id: <f9637ada0706040420n46d79b9fub0f107a3be7af75a@xxxxxxxxxxxxxx>
On 6/4/07, Dave Howorth <dhoworth@xxxxxxxxxxxxxxxxx> 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
--

Once you update to 10.2 and install Java 1.5 then your JAVA_HOME and
friends will be set. For 9.2 you have to set the environment variables
in your .bashrc or your .profile.

-H
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References