-
Notifications
You must be signed in to change notification settings - Fork 0
Compiling Project
Compiling is the process in which you create an executable for your application. For Java this would be a .jar
file. To compile run mvn clean install
. You can do this inside of the Maven control panel.
If you get errors while compiling ensure you are using the correct Java version. Make sure your project SDK is set the correct Java version. Make sure your Language level is set the correct Java version. Make sure your module is set to the correct Java version. Make sure you are connected to the internet.
Before you can execute the jar file you must place the jar file into your game folder Your Game Name-version
(Hero Adventure-1.0). You should have done this step when installing assets. Next place the jar file inside of that directory.
Next create a new file called start.bat
(start.sh
for linux). Add the following code to the file.
java -jar Your Jar File Name.jar
Now launch the jar file. If you get an error that says java is not recognize as an internal or external command.
Run the file within Intellij.
Now your application should start and you should see a window pop up. Please note that the above is not the solution to the problem. You must have Java installed onto your computer.
This part of the wiki is under construction.