Home > Back-end >  Since the launch of Java implementation boot
Since the launch of Java implementation boot

Time:11-24

I want to make a program, and then packaged into an exe file, I want my exe implementation since the launch of boot (in Java code, need not bat)
My system is Windows10x64

CodePudding user response:

Copy to start - all programs - start menu, unless the Java can access to the registry,

CodePudding user response:

First of all make sure you are executable EXE or installer EXE, EXE can be packaged into the installer, set during the installation process to realize the boot from the start, use the inno setup this tool, converting executable EXE setup, added in the generated script
(Registry)
In registry key HKLM; Root: Subkey: SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ "Run". ValueType: string; ValueName: "testrun"; ValueData: "{app} \ {# MyAppExeName}"
Can boot launched, so as to how to put the jar packaged into exe, can use exe4j this tool

CodePudding user response:

You put the exe file to make a Windows service

CodePudding user response:

Java is used to write software, not doing a system configuration... , it is best to do this script
  • Related