Hey, I am trying to run a java program as a cron job, but when I run it, the e-mail gives me the following error:
/usr/bin/java: line 67: /tmp/javaKt9946: Permission denied
/usr/bin/java: line 67: /tmp/javaKt9946: Success
This is the jave program that I am trying to run:
public class Hello {
public static void main( String[] args ){
System.out.println("HELLO THERE");
}
}
I have a more complicated program that I would like to run, but if I can't get this to run, maybe cron jobs aren't allowed to run java? Anyone know?
Thanks
Dave
/usr/bin/java: line 67: /tmp/javaKt9946: Permission denied
/usr/bin/java: line 67: /tmp/javaKt9946: Success
This is the jave program that I am trying to run:
public class Hello {
public static void main( String[] args ){
System.out.println("HELLO THERE");
}
}
I have a more complicated program that I would like to run, but if I can't get this to run, maybe cron jobs aren't allowed to run java? Anyone know?
Thanks
Dave