How can I convert file.java to file executable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I convert file.java to file executable

Urgent help me

20th May 2023, 8:33 AM
Imene SAADI
Imene SAADI - avatar
3 Answers
+ 6
Why is it urgent? Take you time, do a Google search, study the results, test the different possibilities and in the end, decide what suits your needs. https://stackoverflow.com/questions/147181/how-can-i-convert-my-java-program-to-an-exe-file
20th May 2023, 8:55 AM
Lisa
Lisa - avatar
+ 3
If something is urgent, it would be better for you to take matters into your own hands rather than waiting on others. Check out the code below for some tips on how to research: https://code.sololearn.com/W0uW3Wks8UBk/?ref=app
20th May 2023, 11:48 AM
Justice
Justice - avatar
0
Open command prompt. Go to the folder where your File.java exists. Then type the below mentioned line. javac File.java This will give you a File.class file which is executable.
23rd May 2023, 8:34 AM
Avinesh
Avinesh - avatar