Two Laptop Bag*
The moose likes Java in General and the fly likes want to create exe file for java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "want to create exe file for java application" Watch "want to create exe file for java application" New topic
Author

want to create exe file for java application

jaimin gohel
Greenhorn

Joined: Jul 30, 2008
Posts: 13
hello

i have a java application and want to create a exe for it. so that when i run my application on some other computer i dint have to disclose my class files. something as an exe of VB.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42277
    
  64
GCJ can compile to native code, but it may not support all Java features you need (Java 6, for instance, and parts of Java 5). It may be more trouble than it's worth.


Ping & DNS - my free Android networking tools app
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19720
    
  20

There are several commercial products available as well. You could try Google or our own search to find some of those.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
Don't get me started about those stupid light bulbs.
 
subject: want to create exe file for java application