![]() This will give you an error if you run manually but will run in background. Learn how to disable startup programs on Windows. The service did not respond to the start or control request in a timely fashionĬmd /c D:\JAVA7~1\jdk1.7.0_51\bin\java.exe -jar d:\jenkins\jenkins.war Home Windows 10 Startup Programs You Can Safely Disable to Speed Up Windows By Aaron Couch Updated Computer booting slowly You probably have too many programs running at startup. In some restricted environment as I was in corporate environment If you get timeout use cmd /c D:\JAVA7~1\jdk1.7.0_51\bin\java.exe -jar d:\jenkins\jenkins.war but even with this you'll get timeout but in background java.exe will be started. Type shell:startup and then hit Enter to open the Startup folder. Sc create serviceName binpath= "java.exe -jar D:\.\runJar.jar" Will create windows service To add a program to startup, Press Windows+R to open the Run dialog box. ![]() In it's property -> shortcut -> target - > java.exe -jar D:\.\runJar.jar Windows 7 C:\users\All Users\Start Menu\Programs\Startup(Admin) or User home directory(%userProfile%) It's simple as you have to put shortcut in ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |