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 ?

14th Aug 2016, 10:20 AM
Amit Gupta
Amit Gupta - avatar
7 Réponses
+ 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.
14th Aug 2016, 10:26 AM
Eric Zeus
Eric Zeus - avatar
+ 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.
14th Aug 2016, 10:32 AM
Eric Zeus
Eric Zeus - avatar
+ 1
explain in detail sir. @Eric Zeus
14th Aug 2016, 10:29 AM
Amit Gupta
Amit Gupta - avatar
0
thnk you sir 👍
14th Aug 2016, 10:46 AM
Amit Gupta
Amit Gupta - avatar
0
firstly create .jar file & then you can use any .jar to .exe converter to create an exe file.
15th Aug 2016, 5:31 PM
Ravi Kumar
Ravi Kumar - avatar
0
then how to create .jar file ...since i am new to java 😅
15th Aug 2016, 5:33 PM
Amit Gupta
Amit Gupta - avatar
0
javac filename. if you are using a ide than you can extract or compile a jar
15th Aug 2016, 5:37 PM
Eric Zeus
Eric Zeus - avatar