Skip to content

Build process for developers? #4

Closed Pinned Answered by JakeTurner616
JakeTurner616 asked this question in Q&A
Discussion options

You must be logged in to vote

1. Package the Application

After making any changes to your Java code, start by packaging your application into a production-ready JAR file using Maven:

mvn package

2. Test the Packaged JAR

Next, test the newly created JAR file to ensure it functions correctly. You can do this from the command line by running:

java -jar C:\Users\jaked\Documents\Infinity-Library-1\target\InfinityLibrary-1.1.0-jar-with-dependencies.jar

3. Convert JAR to Executable

Once you've confirmed that the JAR works as expected, use Launch4J to convert the JAR file into an executable (EXE) file. Use the Launch4J configuration file located in the /scripts directory for this process.

4. Create the Installer Package

Final…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by JakeTurner616
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
documentation Improvements or additions to documentation question Further information is requested
1 participant