O
O
Old-John2021-09-01 10:03:27
Java
Old-John, 2021-09-01 10:03:27

How to run java program (.class file) with windows 10 start?

Hello. Actually, the question is in the title. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuriy Vorobyov, 2021-09-01
@YuriyVorobyov1333

First of all, you need to write a .bat file that will contain the command to launch the program. java "classname"
Then add the file to the windows startup folder
. You can also run it shell:startupand specify shortcut -> target ->java "classname"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question