Running an expression evaluates an expression but does not display a result.
If you select the expression to run and click the Run button in the toolbar, no result is displayed, but the code is run.
For example, if you type and highlight System.out.println("Hello World")
, and click the Run button, Hello World
appears in the Console view, but no result is displayed in the scrapbook editor or the Expressions view.
Displaying the result of evaluating an expression
Inspecting the result of evaluating an expression
Viewing runtime exceptions