I have done a small RPG in Eclipse IDE. Now I want to share it with some friends who are not using IDE.
I read that I need to export my project into .jar or executable jar. Well these to process are not able to finish without errors.
This is my project: The hierarchy of my project.
I will show you the step I am following to export:
- Right-click on the project > Export > JAR file (Export)
- Add my project to the .jar (Export options)
- Add my package and the main class (Export options 2)
- Then I click on finish and then the errors appears (The errors)
After that the .jar come in the folder but doesn't work at all.
Please help me.
Try to use this tool:
https://ninjacave.com/jarsplice
Here´s a tutorial, how to export the Slick2D-App (But It´s in german):
https://www.youtube.com/watch?v=N8wwewUqg9E