3
\$\begingroup\$

I made a Java project with images, external JARs, and natives(the JARs and natives are for LWJGL and Slick). How can I export this as an executable? I already tried JarSplice and WinRun4J, but when I run the executable, nothing happens. Why?

EDIT: There are also sound files and TrueType fonts.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Not game related... \$\endgroup\$
    – Tim Holt
    Jan 14, 2013 at 5:30

1 Answer 1

5
\$\begingroup\$

I like to use Launch4j to generate my Java ".exe" files for Windows. You can let the executable auto-download the necessary Java VM if necessary, and, for debug purposes, you can start your executable in console, so if an error happens, you will be able to see what is causing it.

Just remember to ship the extra files with your executable (dlls, images, others)... To create a Windows installer, I recommend NSIS.

\$\endgroup\$
1

Not the answer you're looking for? Browse other questions tagged .