0
When i will get the .exe file ?
everytime i need to run the program which is in .java form so when .exe file will be created ?
7 odpowiedzi
+ 4
.java is the source code and .jar is the bytecode. You will run the bytecode. So you wont get an exe file. The only time when you can get an exe file is if you want your program portable and without a java instalation.
+ 3
.exe are not desingned to work with java bytecode since its need jre or jdk to be installed to convert it in instructions for your cpu.
+ 1
explain in detail sir. @Eric Zeus
0
thnk you sir 👍
0
firstly create .jar file & then you can use any .jar to .exe converter to create an exe file.
0
then how to create .jar file ...since i am new to java 😅
0
javac filename. if you are using a ide than you can extract or compile a jar