How can build a Java program to an exe or a binary file? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 3

How can build a Java program to an exe or a binary file?

Imaine that we have no JVM in the target machine.

3rd Sep 2016, 12:01 PM
Massoud Afrashteh
3 Antworten
+ 2
I have found Jsmooth for run java compiled programs without JVM (actually Jsmooth download the app requirements)
3rd Sep 2016, 7:32 PM
Massoud Afrashteh
0
actually u cant but still u can use some tools to get a .exe file from ur .java file
3rd Sep 2016, 12:49 PM
Akash Jaiswal
Akash Jaiswal - avatar
0
To run java programs we need to have java installed into machines. Steps to be followed for creating exe file for java program. 1.Compile java program to make class file. 2.Create a batxh while has statement to run java class file. 3.You can now make exe filw by including bat file. there are tools you can search for in internet with which it's possible. Hope this helps
3rd Sep 2016, 6:18 PM
Mahender
Mahender - avatar