Creating an executable file with Launch4J and Java 11

How to build an executable file for a Java 11 GUI application using Launch4J

Before we look at the how perhaps we should ask the question of why.  The aim is to package up our Java application so that we can distribute it to others. We want them to be able to launch the application without having to install anything else.

Therefore, what we are looking to deliver is our Java application along with the Java Runtime Environment and any external libraries required for it to run. To do this will need a few tools:

Continue reading “Creating an executable file with Launch4J and Java 11”

Wrap Java into an executable with Launch4J-Part 2

Previously I had written a blog called “Wrap Java into an executable with Launch4J”. The title for the article I now realise was perhaps misleading in that it only covered how to download the tool and install. I understand that some readers may actually want an example of how to convert their Java code into an actual executable. This aims to address that short coming.

Continue reading “Wrap Java into an executable with Launch4J-Part 2”