Results 1 to 7 of 7
Thread: Compiling to native exe
- 09-11-2009, 09:23 AM #1
Member
- Join Date
- Sep 2009
- Posts
- 3
- Rep Power
- 0
Compiling to native exe
This might sound stupid, but give me a break please. I just installed Eclipse and am pretty impressed with it. My last dev experience with Java was using Borland JBuilder9, and prior to that I always coded and compiled from a text editor.
I'm curious if Eclipse offers an easy way to compile my java app to a windows executable (exe)?
If its not easy, is there a way to do it within Eclipse or am I going to have to look at an alternative solution?
Thanks in advance.
- 09-11-2009, 09:37 AM #2
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
Why do you want to make a .exe? Why not just create a runnable jar file?
If you insist on the .exe, there is no built functionality for that in Eclipse, however there are a few open source tools for that reachable via google.
- 09-11-2009, 09:40 AM #3
Member
- Join Date
- Sep 2009
- Posts
- 3
- Rep Power
- 0
For ease of distribution, I want the app and all dependencies compiled into one exe.
Thanks for the answer.
- 09-11-2009, 09:47 AM #4
Senior Member
- Join Date
- Aug 2009
- Posts
- 2,388
- Rep Power
- 6
One of the greatest advantages of Java is platform independence. Using it for platform dependent tasks rather invalidates that advantage.
- 09-11-2009, 04:25 PM #5
Member
- Join Date
- Sep 2009
- Posts
- 3
- Rep Power
- 0
I'm very aware of what benefits I get from using Java. Just because I'm shipping an exe to windows users doesn't mean I can't ship a jar to everyone else.
- 10-04-2009, 08:01 AM #6
Member
- Join Date
- Aug 2009
- Location
- Heidelberg
- Posts
- 47
- Rep Power
- 0
Eclipse RCP applications are distributed with a .exe files.
For details on Eclipse RCP please see here: Eclipse RCP - Tutorial
- 10-06-2009, 06:15 AM #7
Member
- Join Date
- Oct 2009
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
Solution to : JFileChooser and Native OpenDialog Box
By paluee in forum AWT / SwingReplies: 0Last Post: 03-30-2009, 07:18 PM -
Loading a library (for native methods)
By Java Tip in forum Java TipReplies: 0Last Post: 12-23-2007, 07:45 AM -
Defining a Native Method
By Java Tip in forum Java TipReplies: 0Last Post: 12-23-2007, 07:44 AM -
Native SQL in hibernate
By Felissa in forum JDBCReplies: 1Last Post: 07-06-2007, 05:54 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks