How can I make a Java app self-executable?

G S S Murthy July 6, 2011
Pinterest Stumbleupon Whatsapp

I have written a few Java programs meant for learners of Sanskrit language. For making it user-friendly, I would like to make them self-executable for Windows users. Is there any ready-made package available for this?

  1. Tina
    July 10, 2011 at 10:36 pm

    G S S,

    did the suggestions above help you? Please let us know!

  2. Anonymous
    July 6, 2011 at 8:26 pm

    Well you can make self extracting jarsĀ into an executable jar file

    JIJI self extractor
    http://www.jijitechnologies.com/jiji-self-extractor.aspx

    try this method
    http://www.javaworld.com/javaworld/javatips/jw-javatip120.html#resources

    Creating executable jar files
    http://csdl.ics.hawaii.edu/~johnson/613f99/modules/04/jar-files.html

    JSmooth is a Java Executable Wrapper. It creates native Windows launchers
    http://jsmooth.sourceforge.net/

    Launch4j wraps jars in Windows native executables and allows to run them like a
    regular Windows program. It's possible to wrap applications on Windows, Linux,
    Mac OS X and Solaris
    http://launch4j.sourceforge.net/

  3. Mike
    July 6, 2011 at 7:14 pm

    There is no self-executable for Java. You can create an EXE file which will launch the JAR file but that's about it.

    You either have to provider a self-contained Java Runtime via jPortable or similar
    http://portableapps.com/apps/utilities/java_portable
    Or you will have to provide or instruct the end user to install the Java Runtime on the computer.

  4. sushil kumar
    July 6, 2011 at 4:22 pm

    is program is jar file.
    if yes then download jar2exe converter here http://jar2exe.codeplex.com/