The command is being run with the wrong version of Java. I don't know what a "webmin" is, but you'd need to figure out where it gets its PATH value from. If it's from your login account you could just change your login script.
Joined: Oct 20, 2009
thanks for the answer...
And what should I change in the log in script? my .profile file looks like this
Can I add this path to the scripts to set the path inside each script? I guess webmin is running the script without logging into ssh. It logs in via ftp.
Webmin is an open source server management tool, it provides a GUI so you can do much of your server administration via the GUI as opposed to command line.
In this case its really helpful because we have an online tool that syncs with a database, some of our sales staff need to run the sync on demand so instead of logging into SSH which would be quite overwhelming for a "non techie"
they just log into webmin under a specific account that only has access to one module and they run the script with a few clicks.