Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Swing Run program when Windows startup

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

like image 923
user236501 Avatar asked Jul 14 '10 11:07

user236501


People also ask

How do I run a Java program in Windows startup?

Put you program in this directory: %appdata%\Microsoft\Windows\Start Menu\Programs\Startup Everything in there will be executed at startup.

What is splash in Java?

Splash Screen is most commonly the first startup screen which appears when App is opened. In other words, it is a simple constant screen for a fixed amount of time which is used to display the company logo, name, advertising content etc.


1 Answers

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

like image 168
Louis Rhys Avatar answered Sep 20 '22 11:09

Louis Rhys