![]() |
| Home | Demo | Services | Features | Help | User Forum | Blog | About | |
|
#1
|
|||
|
|||
|
Hi I have this shell script:
#!/bin/bash echo start cleanup script...... java Cleanup echo finished executing cleanup script The script starts a java program Cleanup on the unix shell. I use cron to run the script periodically. The problem is that when using the shell script it prints this error: start cleanup script...... Exception in thread "main" java.lang.NoClassDefFoundError: Cleanup finished executing cleanup script But if I run the program on the command line it doen't give any problem. How can I fix this? |
|
#2
|
||||
|
||||
|
Sorry, no clue. You need some serious technical advise here.
I can't even run shell commands on my server, so no way to test any such stuff. Hopefully some of much more knowledgeable people will be along soon to help you.
__________________
Christina >>Forum Moderator<< Please do not PM me for support. The forum is here for that. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|