My class contains the main method and my class name matches the name of the file but when I want to run it, it gives the options to run as "ant build" or "ant build...". Run as java application is not working for me. What could be wrong?
Asked
Active
Viewed 43 times
0
-
Could this be of use? https://stackoverflow.com/questions/21068440/eclipse-wont-compile-run-java-file – gmdev Sep 28 '20 at 02:09
-
What error are you getting ? – user3437460 Sep 28 '20 at 12:04