-3

In C/C++, the .exe file is automatically generated by the compiler when we run the code. My question is how do you generate the .exe file in Java instead of just hitting run every time when we open up the .java file.

Kenlucius
  • 41
  • 1
  • 8

1 Answers1

0

To do that, you'd need to create an Executable .jar file. Here's the instructions on how to do it.