How to start a java program as a start-up service in Linux?
i sucessfully started a java program by adding a script to /etc/init.d,
but in the script, i have to type the full path of the java laucher, the environment variables are not loaded on startup, what should be done to avoid the full path in the script? Any one has a similiar experience or got a solution to share?