My submission compiles and runs fine.
So I paste it into the box and send it.
"class LifeTheUniverse is public, should be declared in a file named LifeTheUniverse.java
public class LifeTheUniverse {"
Ok, I think, that's pretty stupid so I upload the actual file, LifeTheUniverse.java, instead. Same error.
Then I notice that the error message is found in a file called 'Main.java', so I change my class name to Main and try again. This time I get
"The program compiled successfully, but Main.class was not found.
Class Main should contain method: public static void main (String[] args)."
Obviously, my submission has a main method so what's going on? Is the java judge busted? I can't find any guidelines in the faq. Anyone know how to do this?
TIA