Is it possible to compile Java to EXE?

Status
Not open for further replies.

Sputnik

Full Member level 3
Joined
Oct 19, 2004
Messages
150
Helped
4
Reputation
8
Reaction score
1
Trophy points
1,298
Location
South Africa
Activity points
1,667
compiling exe using gcj

Is it possible to compile Java to EXE?

Thanks
Sputnik
 

compile java to exe

To .EXE for WINODOWS??
YES .. just look for opendomain compilers
Or check this out

**broken link removed**
 

Compiling Java

You can use thirdparty tools:
h**p://www.bysoft.se/sureshot/exej/
h**p://www.duckware.com/jexepack/
 

Re: Compiling Java

It is possible to compile Java into EXE using GCJ, however as of now you cannot make EXE's that use Swing classes from GCJ, the best approach is to use the Eclipse SWT GUI classes.

Last time I checked Java Swing has not been ported to GCJ yet, but I think there are open source projects trying to port swing functionality over so that you could compile to an EXE using Swing classes.

Btw, everything I've mentioned is free, no need to buy anything.

- Jayson
 

Compiling Java

hi,
If you want an exe cos u want to launch the app in a sinlge click then y dont u opt for JAR files??(a bit messy procedure though).No need for thridparty tools too then.just search the net and you ll get lots of tuts for creating JAR files
kareja
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…