File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes How to convert java byte code(.class) into native code(*.exe) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How to convert java byte code(.class) into native code(*.exe)" Watch "How to convert java byte code(.class) into native code(*.exe)" New topic
Author

How to convert java byte code(.class) into native code(*.exe)

Sandeep Ghosh
Ranch Hand

Joined: Jan 23, 2002
Posts: 145
Hi,
Could we convert our java byte code program (.class file) into native code(.exe).Is there any utility in JDK1.3 for this purpose.
I am sorry if this type of question has been already posted.
Thanks in adv
Sonu
Rob Ross
Bartender

Joined: Jan 07, 2002
Posts: 2205
Some IDEs like Metroworks will deploy your app as an .exe.
You can also get a bytecode compiler that will compile your .class files into actual platform-dependant machine code. This of course makes your application non-portable. And, you should realize that with the state of modern optimizers and just-in-time compilers, some operations in your .exe could actually be *slower* than normal java bytecode. Just because it's compiled doesn't make it faster!!
Here's a url for Jet, a java bytecode compiler for windows:
http://www.excelsior-usa.com/home.html


Rob
SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to convert java byte code(.class) into native code(*.exe)