Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Ways to make an application run at OS startup from Java

smighMay 13 2010 — edited May 13 2010
Let's say I want to have a JCheckBox in a Java application labeled "Start this application automatically when Windows starts up" like many messenger and voip applications.

How would you do that from within the java application? Copying a shortcut to the Windows startup folder? Editing the registry? I would need this to work mainly on Windows but is there any cross-platform way of doing this?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 10 2010
Added on May 13 2010
6 comments
168 views