| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| <html lang="en"> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2007. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." > |
| <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
| <meta http-equiv="Content-Style-Type" content="text/css"> |
| <link rel="stylesheet" href="../book.css" charset="ISO-8859-1" type="text/css"> |
| <title> |
| Viewing compilation errors |
| </title> |
| </head> |
| <body> |
| <h1> |
| Viewing compilation errors |
| </h1> |
| <p> |
| If you try to evaluate an expression containing a compilation error, it |
| will be reported in the scrapbook editor. |
| </p> |
| <p> |
| For example, type and select the (invalid) expression <code>System.println("hi")</code> in the editor and click <strong>Execute</strong> in the toolbar. |
| </p> |
| <p> |
| The error message <em>The method println(java.lang.String) is undefined for the type java.lang.System</em> appears in the editor at the point of the error. |
| </p> |
| |
| </body> |
| </html> |
| |