how to create exe

hii m working on java swings project. n i have created an application. now i want to create an ExE of it.i did it using JXEcreator but it gives a problem while saving a file. so any ideas how to come out of it?
[224 byte] By [shravania] at [2007-11-27 5:04:31]
# 1
have u got the result. if yes then plz give me solution too. i m new in java programming. and i searching same thing too. plz help is appriciatableregards hassan mushtaq
Hassan_GuGua at 2007-7-12 10:22:52 > top of Java-index,Desktop,Core GUI APIs...
# 2
You can use GNU's Java Compiler, GCJ.Or you can make an exe in C/C++ that calls your Java program =pIf you're looking for a plain old execute-on-double-click kind of file, read up on jars.
ktm5124a at 2007-7-12 10:22:52 > top of Java-index,Desktop,Core GUI APIs...
# 3
You can download Launch4j software it is free.You can create an exe file from jar file.Bharat
bharatkadaa at 2007-7-12 10:22:52 > top of Java-index,Desktop,Core GUI APIs...
# 4

So to summarize you have 2 options:

option 1: a launcher

- JEXECreator is a launcher

- Launch4j is a launcher

- you can make your own launcher

- in Windows a jar file can be associated so that is runs the program

on doubleclick

option 2: compile to native code:

- GNU Java Compiler (GCJ) compiles to native code

tom_jansena at 2007-7-12 10:22:52 > top of Java-index,Desktop,Core GUI APIs...
# 5

the first googled link, and posted in a swing forum?

GCJ: The GNU Compiler for Java - GNU Project - Free Software ...

The GNU Compiler for Java - compiles Java source or bytecode to native machine code. Most APIs are supported, except the AWT and Swing. [Open Source, GPL]

gcc.gnu.org/java/ - 13k - Cached - Similar pages

Nibura at 2007-7-12 10:22:52 > top of Java-index,Desktop,Core GUI APIs...