Menu

create linux-executables files using Launch$j

Help
Angelo
2018-11-27
2019-12-10
  • Angelo

    Angelo - 2018-11-27

    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.

     
  • Zoltan Csati

    Zoltan Csati - 2019-01-21

    You can simply create a bash script which contains java -jar file.jar and set its permission executable.

     
  • O S

    O S - 2019-12-10

    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.