I made an RPG game in Java and want to export it to an EXE

K.I.L.E.R

Retarded moron
Veteran
I made an RPG game in Java and want the entire program to be 1 EXE file. Well it doesn't have to be an EXE file, it can be any filetype as long as it is 1 file and the entire program runs from the 1 file.

This project has mutliple files as well.

I heard you can compress it into a "jar" format but I'm not too sure if that's what I want.

Can someone please tell me how to do it?

Thanks
 
Yeah...What you want to do is create a single JAR file. You will need to create a manifest file that gets passed into the JAR utility, that simply defines the class containing the main() function. If you use IDE's like JBuilder, they have tools to help build these archives (a JAR file is nothing but an archive). Do a search on google/etc. for more details on JAR's, or consult the documentation.
 
Back
Top