Executable Export Tutorial - BlockadiaTeam/Blockadia-Team-Project GitHub Wiki
This tutorial will explain how to convert Blockadia into a runnable .exe file
Exporting .jar file
- In eclipse, go to File > Export > Java > Runnable JAR file
- For Launch configuration pick "BlockadiaMain - Blockadia"
Export Destination can be anywhere you want to store the .jar file
Library handling should be "Extract required libraries into generated JAR"

- The .jar file should be exported to your chosen destination. Run it to see that it works.
Download Launch4j
Now that the .jar file is created, we will need a tool for the .exe conversion. Launch4j is a free software that can convert the .jar file you exported from eclipse to a .exe file You can download the latest version here.
Using Launch4j
- Open up Launch 4j
- In the Jar input field, locate where you have exported the .jar file from previously.
- In the output field, specify where you want the .exe file to be located
- In the icon field, find the icon in Blockadia/src/images/Blockadia-Game-Icon.ico
- Under the JRE tab, set Min JRE version to version 1.4.0
- Click the gear icon near the top and enter a name and location for the xml file
- The xml and exe file should be created. Run the exe to verify that it works!