-
Notifications
You must be signed in to change notification settings - Fork 1
Building a release file
If you want to use the latest version, you can build a file yourself using an IDE of your choice. These builds are not guaranteed to be bug-proof or complete, however.
Download the latest commit by going to the home page of the github, pressing the green button that says "Clone or download", and press "Download ZIP"
You'll also need the SwingX library, which can be downloaded here. Make sure you download the jar.
NOTE: The specific version used is 1.6.4
NOTE: You do not need this if you're building in IntelliJ IDEA.
If you don't already have Java, you'll also need to download the JDK and JRE. The version used by KAaNE [JE] is version 1.8.0.
The specific method differs between IDE's. Click on the IDE you're using to get specific instructions.
BlueJ
WIP
DrJava
WIP
Eclipse JDT
WIP
Geany
WIP
Greenfoot
WIP
IntelliJ IDEA
-
Extract the ZIP file to a folder
-
Open the folder in IntelliJ
- Select Build artifacts...
- Select KAaNE.jar > Build
-
Wait for a bit for it to build
-
You're done! The output is in out/artifacts/KAaNE_jar
JBuilder
WIP
JCreator
WIP
JDeveloper
WIP
jGRASP
WIP
MyEclipse
WIP
Netbeans
WIP
Rational Application Builder
WIP
Servoy
WIP
SlickEdit
WIP
Understand
WIP
XCode
WIP
If you prefer to have an EXE file instead of a JAR file, download Launch4j here.
If you don't know how to use Launch4j, follow these instructions:
-
Select the path where your jar file is.
-
Select a folder to place your exe file in and make a filename.
-
Label the bundled JRE path as 'jre'
It should now look like the following:
Click to show
-
Press the gear button.
-
If you get a prompt to save a file, save it to wherever (This is your configuration file if you ever need it)
-
If it says
Successfully created (path name)
, then you've done it correctly and you now have an EXE file.
You can launch the EXE or JAR file by itself, however it will most likely break (It depends on the config file and images)
In order to get the dependencies, follow this:
-
Move the EXE/JAR file to a different location (this will be your release folder)
-
From the project folder, copy the "imgs" folder and "config.properties" file
-
Paste them into your release folder
If your folder looks like this, you've done it correctly.
If you're also bundling a JRE with the EXE file, make sure to copy and paste your JRE to the release folder. You can find it at C:\Program Files\Java\jre(version#) on Windows. You'll also need to rename that folder to "jre".
This wiki was made by Tyler Flowers (ggtylerr or Gaming Guy Tyler) and various other contributors for KAaNE [JE]. It uses the same license as the software (MIT)
Click to show
Currently, no mod pages are done. Come back later, or help make them.
Modloading: Compiling and Releasing