[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

converting java program into exe file

Posted on 2012-08-14
4
Medium Priority
?
455 Views
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
0
Comment
Question by:davetough
  • 2
  • 2
4 Comments
 
LVL 36

Accepted Solution

by:
mccarl earned 2000 total points
ID: 38294667
Yes I have heard of it, http://launch4j.sourceforge.net/, 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)
0
 

Author Comment

by:davetough
ID: 38294711
Thank you- I am hoping to be able use java at work in some simple programs.
I use C#.net 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
0
 

Author Closing Comment

by:davetough
ID: 38294712
thank you
0
 
LVL 36

Expert Comment

by:mccarl
ID: 38294726
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.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
The viewer will learn how to implement Singleton Design Pattern in Java.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month20 days, 10 hours left to enroll

867 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