Viewing compilation errors and warnings

The workbench supports different ways to examine errors and warnings:

If an expression you select to evaluate has a compilation error, it will be reported in the Scrapbook editor.

For example, if you type and select the (invalid) expression System.println("hi") in the editor and click Run in the toolbar, the error message:

The method println(java.lang.String) is undefined for the type java.lang.System

is displayed in the editor at the point of the error.

Related concepts

Java builder
Java editor
Scrapbook

Related tasks

Building automatically
Building manually
Running and debugging
Setting execution arguments

Related reference

Package Explorer

Legal notices