Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

what way i can convert it to a .exe version.

  Asked By: Vernon    Date: Mar 13    Category: Java    Views: 393

after that i hava some problem.

that is, like in VB, what way i can convert it to a .exe version.

i came to knoe that java project can not be converted like that.

then what is the solution for this.

pls help me.



3 Answers Found

Answer #1    Answered By: Balbir Kaur     Answered On: Mar 13

Java compilers not generate self executable codes. it generates byte codes which
can be run by jvm. thats provides platform independence. exe  are executables
files on windows. there may be some tools to generate exe from byte codes, thats
i dont know.

Answer #2    Answered By: Rene Sullivan     Answered On: Mar 13

You can create a .bat and write your java  executable command in it.
Thats the best you can do.

Java does not allow you to create an exe  .

Answer #3    Answered By: Milton Robinson     Answered On: Mar 13

open notepad then write java  filename

then save project.bat file

after that click project.bat file it will run

Didn't find what you were looking for? Find more on what way i can convert it to a .exe version. Or get search suggestion and latest updates.