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

    try this method

    Creating executable jar files

    JSmooth is a Java Executable Wrapper. It creates native Windows launchers

    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

  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
    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