How can I run java class file using a script file in Linux at boot time?
I have some java class file .I want that file should run at boot time when machine restart.I want to write a Script file that run those of my java classes at machine startup.
How can I run java class file using a script file in Linux at boot time?
I have some java class file .I want that file should run at boot time when machine restart.I want to write a Script file that run those of my java classes at machine startup.
What linux distro are you using?
If you use Ubuntu then you can take a look at the upstart deamon which handles the task of starting processes during boot.
In general you create a script under /etc/init.d
, described in detail here
Since i only created bash scripts there and i dont know much about Java this link might be helpful