I found that many Java programs in the program use .bat batch file as program launcher. It looks strange in comparison with other programs that use the .exe executable file.
Why can not they use the Java program .exe file? Is this a limitation of Java program?
Thank you.
It is very easy to just create a .bat file and include java -jar & lt; Archive-path & gt; Add
and you're running it. You can easily edit the .bat file and configure it more. You only need notepad.
In addition to this, it looks like Bash script files for Linux. It creates a .bat file for execution. One program is easily transferred from Win to Linux.
While no .exe file is easily replaceable (if everything) and it produces some meta-data, as a result. Exe is big ... exe is also a windows specific file extension ...
Of course, if you want to pack everything in a file and do not worry about deleting the user .jar file But still batting ... this is another matter.
Comments
Post a Comment