java - Eclipse jar to an exe? -


i've searched far , wide, can create jar using eclipse when run it, doesn't run half of program because didnt import api's, because api's don't exist in jar.

i made simple pac-man game (still learning java :o) compiled executable jar use program called 4j turn exe!

however, jar doesn't run game :/

don't know sources need, ask. sorry i'm newb d:

you can supply third-party api within jar file. called fat jar approach (all classes put 1 jar according names of packages). deal 1 jar file (then convert exe, or add shell scripts specific operating systems run java -jar game.jar - many options).

as eclipse search specific plugins. or, mentioned above, use maven or tool give portable installer. it's you.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -