converting java program into exe file

Posted on 2012-08-14
Last Modified: 2012-08-14
I read that a program named Launch_4j can turn a java program into an executable file on a windows desktop-
Have you heard of this program? and are there many other programs like this?
Thank you
Question by:davetough
    LVL 35

    Accepted Solution

    Yes I have heard of it,, and used it on occasion. Didn't have to use much of the features but it did what I needed at the time.

    There are others out there, but on quick inspection, it appears that most others are no longer in active development.

    (The above answers your questions as they are stated, but I am guessing that you may have been after other/more info? If you have any more specific questions, let us know)

    Author Comment

    Thank you- I am hoping to be able use java at work in some simple programs.
    I use in a few programs- and I had thought - maybe mistakenly that creating exe java programs would be easier-
    Since I have always heard that Java is platform independant-
    Thank you- I will try using launch4j

    Author Closing Comment

    thank you
    LVL 35

    Expert Comment

    Ok, well the point to realise is that you don't need to turn the java programs into exe to run them. If you create are .jar file of your program, these files get associated in Windows with the installed Java Runtime Environment and so you can just double-click the .jar file and your program will run. And then these .jar files stay platform-independant.

    If you use Launch4J then, it has created an exe file which is no longer independant as it is constrained to Windows. However, I believe Launch4J can create launchers for other OS's too.

    However, the whole point is the Launch4J adds extra steps to your build process, and so I would make sure that you really NEED to do it before spending time working it out. I suspect you might not.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
    Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This video teaches viewers about errors in exception handling.

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now