My OS is Linux, and I would like to run jar files from the terminal without the java support (java -jar file.jar).
My ask is if it is possible to do it using Launch4j (that is, to get an linux-executable file using Launch4j).
If this possibilty is alloved I would like to have same hints about how to do it.
You can simply create a bash script which contains java -jar file.jar and set its permission executable.
java -jar file.jar
Linux version of launch4j creates a Windows-compatible executable: PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows.
Is there any way to create an executable with launch4j that will run on Linux?
Log in to post a comment.
My OS is Linux, and I would like to run jar files from the terminal without the java support (java -jar file.jar).
My ask is if it is possible to do it using Launch4j (that is, to get an linux-executable file using Launch4j).
If this possibilty is alloved I would like to have same hints about how to do it.
You can simply create a bash script which contains
java -jar file.jar
and set its permission executable.Linux version of launch4j creates a Windows-compatible executable:
PE32 executable (GUI) Intel 80386 (stripped to external PDB), for MS Windows.
Is there any way to create an executable with launch4j that will run on Linux?