I read that you can add a key to the registry, but there are problems with permission in Windows Vista and 7. What is the safest and best way to start a Java program at system startup?
You can configure the Java service shell to launch a Java application when Windows starts. http://www.google.com/search?q=java+service+wrapper
I would use the task scheduler if he ran this:
java -jar file.jar
And set it to start at computer startup and to start with the highest privileges.
Do you want to do this by code or manually?
But all about the registry, why don't you check Java Wrapper?
winsw works very nicely: http://kenai.com/projects/winsw
(.NET required though)
Source: https://habr.com/ru/post/1333835/More articles:Pronunciation of programming structures (especially in C #) - c #codeigniter - input form filler - inputafterlabeledit C # tree handler - c #How to force a Java application to start automatically when a PC starts? - javaHow to effectively add sparse matrices in Python - pythonGet file path from Visual Studio - c #Override what Ruby considers current time in Time.now? - ruby ββ| fooobar.comF # - class POCO - f #Listing documentation in Roxygen - rCode to automatically launch a java application when Windows starts - javaAll Articles