0

Is it posible to compile Java source (which uses libraries like Swing etc) in an exe file, so the user doesn't need to install JavaSE?

I am looking for some way to bundle a mini-JRE and the .jar in a single file (exe) or some way to compile everything (source and libraries) into native code.

PS: Obviously I don't care about cross-compat for that program.

user1942541
  • 297
  • 1
  • 3
  • 13
  • You can exe your stuff but java code would always require JVM. The other option you mentioned looks probable. – Darshan Lila Apr 01 '15 at 10:24
  • 1
    http://stackoverflow.com/questions/574594/how-can-i-create-an-executable-jar-with-dependencies-using-maven – exoddus Apr 01 '15 at 10:26

0 Answers0