The whole project code is available here :
https://github.com/TheRolfFR/Magic_Students
- Windows/Linux/MacOS executable JAR : Magic_Students_win.jar
- Windows executable : Magic_Students.exe
- Mac App bundle : Magic_Students.zip
- Linux shell : Magic_Students.sh
!!! DOWNLOAD, INSTALL jarsplice here : http://ninjacave.com/jarsplice#Download !!!
Double-click to launch the jarsplice executable jar.
- Click the 1) ADD JARS button
- Click the Add Jar(s) button
- Select the built jar with Intellij IDEA and hit the Add Button
Natives are complementary libs needed to run on certains platform
- Click the 2) ADD NATIVES button
- Click the Add Natives(s) button
- Select the natives for the wanted platform (can be found in lib/lwjgl-2.9.3/native folder of the Magic Students root location) and hit the Add Button
- Click the 3) MAIN CLASS button
- Enter the Magic Students main class location in the field : Main.MainClass
- Click the 4) MAIN CLASS button
- Click the Create Fat Jar button
- Choose your location in the file dialog with your desired name (it doesn't matter) and hit the Save Button
- Wait and you should see A success dialog appearing
- Click the EXTRA (WINDOWS.EXE ) button
- Click the Create Windows EXE file button
- Choose your location in the file dialog with your desired name (this one matters) and hit the Save Button
!!! Download and install Resource Haker here : http://angusj.com/resourcehacker/#download !!!
Open ResourceHacker.exe
- Click the Open item in the File menu or press CTRL + O
- Select the desired exe in the file dialog and hit the submit button
- Click the "flower image icon" button in the toolbar, a dialog window will open
- Click the Select File ... button
- Select the desired Icon file
- Resource Hacker will detect automatically that it is the icon and fill the other fields for you
- Just click the Add Resource button to add the resource
- Eventually click the "floppy disk" button to save your file
- Select your location and hit the submit button