« Return to Thread: main method in file with class and object?
by Arrgh :: Rate this Message:
Reply to Author | View in Thread
I then compiled with "scalac MyApp.scala", but when I run with "scala MyApp" from the same directory I get:java.lang.NoSuchMethodException: MyApp.main([Ljava.lang.String ;)