Viewing compilation errors

If you try to evaluate an expression containing a compilation error, it will be reported in the scrapbook editor.

For example, type and select the (invalid) expression System.println("hi") in the editor and click Execute in the toolbar.

The error message The method println(java.lang.String) is undefined for the type java.lang.System appears in the editor at the point of the error.