Teen Programmers Unite  
 

 

Return to forum top

Java to EXE

Posted by java_developer [send private reply] at November 19, 2002, 08:19:56 AM

I want to convert my Java programs into EXE.
As I am programming mainly for Windows , I don't want my apps to work under JVM.
Is there any free tool available that will convert Java programs to native machine code.
I have tried searching for it but didn't get any free one's.
If anybody knows then please reply.

Posted by CDR700 [send private reply] at November 19, 2002, 10:14:51 AM

I havent done Java so dont attack me (please!) but isnt there such a thing as compiled java? Well i know someone that knows everything about Java - pity they are not a TPU memeber or you would be in luck.

Posted by Neumann [send private reply] at November 19, 2002, 10:48:59 AM

http://www.gnu.org/software/gcc/java/

This is GCJ, the GNU Java Compiler. It's clearly stated on the site that it can produce native code.

It may be platform-specific to Linux and it's probably a work-in-progress but depending on what you want to do, it may as well work.

Posted by Neumann [send private reply] at November 19, 2002, 10:54:12 AM

A quick research on download.com returned half a dozen program one can use the wrap Java code into .EXE file. This is probably not want you want because target platform will still require JVMs to run your apps.

Search for 'Java EXE' on download.com. Some of those apps are free.

You must be logged in to post messages and see which you have already read.

Log on
Username:
Password:
Save for later automatic logon

Register as a new user
 
Copyright TPU 2002. See the Credits and About TPU for more information.