9

Is there possible to code the Java Swing application to run when Windows start up?

2 Answers 2

3

Create a batch file which runs your program, save it in Start menu > Programs > Startup

for example in win XP this folder would be C:\Documents and Settings\All Users\Start Menu\Programs\Startup or C:\Documents and Settings[YOURUSERNAME]\Start Menu\Programs\Startup

Sign up to request clarification or add additional context in comments.

1 Comment

This answer is incorrect. This runs the application when a user logs in, not when Windows starts.
1

http://en.wikipedia.org/wiki/AutoRun

http://www.nthelp.com/40/autorun.htm

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.