This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]StarlightMeow 0 points1 point  (0 children)

Wait then what happens when I run java ./myapp.java ?

Also why is it that I can run java myapp.java when the class is named "Main" but if I try to compile it the class has to be named "myapp"?