You can't, period.
There are some tools that will create exe-wrappers but they effectively just pack an entire JVM in with the classfiles.
Create an executable Jar instead, that can then be run on any computer that has a JVM installed by either double clicking on it (if the machine is so configured) or by using the java -jar <somejar.jar> command.
Reputation Points: 1658
Solved Threads: 331
duckman
Offline 7,719 posts
since Nov 2004