Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to make .EXE file of Java Source code

843785Oct 20 2008 — edited Jun 22 2009
Hello friends,

As using JDK and javac we are able to convert the .java file into .class file of a java program and in that .class file of the java program contain the native bytecode. Then using JRE we run that native bytecode. Though its not a big Issuee for developer to run bytecode from windows cmd prompt by writing java [ file name].

But for the final deploment we have to make the .EXE(Executable file) of that program. Can some body tell me how one can make the Java program to Executale file i.e( Program.java -> Program.exe)

Looking for your reply .

Danish Kamran.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2009
Added on Oct 20 2008
11 comments
2,483 views