[TAG] Query
Mudassar Khan
mudassar at jumpgames.co.in
Thu Nov 15 12:59:44 MSK 2007
Hi Thomas,
I m not able to run java class file in cron.
I have set my crontab like this..
* * * * * java /opt/javafiles/Movefile >> /tmp/t.log
but I got following error.
Exception in thread "main" java.lang.NoClassDefFoundError:
.opt.javafiles.Movefile
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean)
(/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/root/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/root/java.version=1.4.2)
Can you help me..?
Regards,
Mudassar Khan
More information about the TAG
mailing list