As I understood, I need to make a jar file in order to get the .exe.
My problem: I have the method:
public static void main(String[] args){
in EX1 class. When I make: Export --> Java --> Runnable Jar file, the class EX1 is not one of my options. What can be the reason?
Thanks
Java doesn’t have exe files; you’ll have a runnable jar; a xxx.jar file. You can execute it as follows:
also, to be able to export the runnable jar, you might have to make a run configuration first…it’s somewhere in the menu or icon shortcuts of eclipse