• Post Reply Bookmark Topic Watch Topic
  • New Topic

I want one java program to run as and when the computer is started  RSS feed

 
Anil kumar Sakala
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want one java program to run as and when the computer is started ?
Can any one tell me how to achieve this?
 
Priety Sharma
Ranch Hand
Posts: 156
Android Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anil,

Create a batch file (applicable to Windows only) and call your java program from it.

Put the batch file in the Startup folder and this way you will get what you want.

 
Campbell Ritchie
Marshal
Posts: 56536
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On *nix systems look for programs like "cron" which might be able to help.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or the init stuff, which varies between BSD-ish and AT&T-ish OSs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!