Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
 

flylionking

Junior Member level 2
Joined
Dec 11, 2003
Messages
20
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
125
Compiling Java

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

Jayson

Full Member level 4
Joined
Oct 8, 2001
Messages
234
Helped
14
Reputation
28
Reaction score
5
Trophy points
1,298
Location
Brazil
Activity points
2,354
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
 

kidiotb

Member level 3
Joined
Jan 19, 2004
Messages
63
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
513
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top