Across linux, MAC, and Windows, is there any way to make a Java program startup on login? I know on windows their would just need to be a shortcut to the jar file in the user’s startup folder. But for linux and MAC what should i do?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There’s no cross-platform method of starting a program at login or boot, but you can configure each individually.
Windows – Put the program in your user’s startup folder in or use a scheduled task, both detailed here: [Instructions]
Mac – Configure through system preferences: [Instructions]
Linux – Configure
~/.bashrcto start on login or use/etc/rc.d/rc.sysinitto start on boot.