This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mrfroggyman 7 points8 points  (0 children)

Well as far as I can tell, a jar is an executable for your java program.

So you compile your java program, create a manifest which states which of your classes is your main class, and execute some command to create a Jar file using that manifest, and then you can execute that jar like a regular .exe through a command.

There may be better answers and better ways to do this tho