I tried to run this:
public class Foo { public static void main(String[] args) { System.out.println("foo"); } }
And got an error "class Foo should be in a file named Foo.java". Sweet!
Syntax highlighting doesn't seem to do anything. Isn't it a little grand to be calling this an IDE?