Switch to use init.d script and start-stop-daemon to manage java