I am trying to run the program as mentioned here: http://www.source-code.biz/snippets/java/7.htm
while running the following command, I see error:
./javaDaemonTest.sh install
The error is as follows
./javaDaemonTest.sh: line 29: .: /etc/rc.status: is a directory
./javaDaemonTest.sh: line 193: rc_reset: command not found
ln: creating symbolic link `/usr/local/sbin/rcjavaDaemonTest' to `/var/local/javaDaemonTest/javaDaemonTest.sh': File exists
./javaDaemonTest.sh: line 221: rc_exit: command not found
How to debug it? Or, if you are following this guide, are you getting this error? My JAVA_HOME
path is set correctly.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…