Can a simple program that runs in the java IDE client console be an executable file?
for example
public static void main(String[] args) {
System.out.print("HI");
}
Would appear in the console when exported as a runnable jar file. Will it be able to run as an executable file after using launch4j?
You will get an .exe file, but it will just launch the JAR automatically. So you will still have to have a JRE installed in order to run the .exe.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.