Convert java programs into executables?

gtfc113

Junior Member
Jan 18, 2001
22
0
0
I am learning how to program in java and i was wondering if there was a way to convert the .java source file into an executable that i could run without having to open the DOS prompt like normal.

Thanks
 

Alternex

Senior member
Oct 9, 1999
531
0
0
I'm still learning java but I believe you can just archive your code into a .jar file
and then run them using javaw (comes with jre). There are programs available that will
compile your java code into a windows executable but using javaw is the simplest approach.