.java/.class to .exe conversion

Status
Not open for further replies.

ApoCalypse

Broken In
Hi,
i want to know if this conversion is possible?
or is there any other way to make a executable application in java?

btw does any know what a .jar file is?

ciao.
 

sakumar79

Technomancer
Jar is Java Archive. It is basically similar to a zip file in that it is used to contain all the necessary classes and other files needed for a project...

In order to create an executable, create jar file for ur project, then create a .bat file with command to run the jar file (java -jar jarfile).

Hope this helps.
Arun
 
OP
A

ApoCalypse

Broken In
hey!
can this .bat file be created in notepad?

and if i double click this .bat file will it run the program or do i need to run it in the dos prompt?
 

sakumar79

Technomancer
yes, .bat files are simple text files in which u can enter dos style commands one line after another. So, u can use notepad to create the bat file. Also, when u double click on it, it will run all the commands one after the other....

FYI, the 'bat' is short form for batch - the file is a batch-execution type...

Arun
 
Status
Not open for further replies.
Top Bottom