Page 1 of 1

Slackware 14 / rc.local Java error

PostPosted: Wed Jul 17, 2013 5:38 am
by wastevenson
I just installed serviio on a fresh install of Slackware. Latest Java release.

Serviio works great from the console when I run the script manually.

However, when trying to load it on startup from rc.local (or manually in xterm from xwindows for that matter), serviio.sh is giving me the following error message.

line 67: java: command not found


It seems the java path is not being recognized while the startup scripts are running, or from the virtual terminals (xterm).

Logged in to the terminal itself, it loads fine. And from there I can run xwindows and run the console. The server can stop and start from the console at that point.