How can I run this program?
https://code.sololearn.com/c9iIt9aJJf07/?ref=app I had tried to run this program on BlueJ, but all my efforts were in vain. Then I downloaded Eclipse and tried to run it. I was not familiar with "modules" of Eclipse, so I had a hard time running it. Then I ran configuration as Java application. Then it said that there is a problem in "public static void main(String[] args)." Then I ran the program in Command Prompt by setting an environment variable and writing "javac" and "java" commands, but the same problem appeared of the main method stating that "Could not find or load the main method." How can I resolve this issue? Which IDE should I use? [Edited: "Thoq!" answered that we should name the file the same class name in which we had mentioned the main() method (In my case, "Pro_Atransport.java"). I am thanking "Thoq!" for giving time for the answer.]