| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
| <html> |
| <head> |
| <meta name="copyright" content="Copyright (c) IBM Corporation and others 2000, 2005. 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 and warnings |
| </title> |
| </head> |
| <body> |
| <h1> |
| Viewing compilation errors and warnings |
| </h1> |
| <p> |
| The workbench supports different ways to examine errors and warnings: |
| </p> |
| <ul> |
| <li> |
| Error ticks in Java views (e.g. Package Explorer) |
| </li> |
| <li> |
| Marker annotations in the editor |
| </li> |
| <li> |
| Problems in the Problems view |
| </li> |
| <li> |
| Tasks in the Tasks view |
| </li> |
| </ul> |
| <p> |
| If an expression you select to evaluate has a compilation error, it will be reported in the Scrapbook editor. |
| </p> |
| <p> |
| For example, if you type and select the (invalid) expression <em>System.println("hi")</em> in the editor and click <strong><strong>Run</strong></strong> in the |
| toolbar, the error message: |
| </p> |
| <p> |
| <em>The method println(java.lang.String) is undefined for the type java.lang.System</em> |
| </p> |
| <p> |
| is displayed in the editor at the point of the error. |
| </p> |
| <p> |
| <img border="0" src="../images/ngrelc.png" alt="Related concepts" > |
| </p> |
| <p> |
| <a href="../concepts/concepts-4.htm">Java builder</a><br> |
| <a href="../concepts/concepts-7.htm">Java editor</a><br> |
| <a href="../concepts/concepts-11.htm">Scrapbook</a> |
| </p> |
| <p> |
| <img border="0" src="../images/ngrelt.png" alt="Related tasks" > |
| </p> |
| <p> |
| <a href="../tasks/tasks-108.htm">Building automatically</a><br> |
| <a href="../tasks/tasks-109.htm">Building manually</a><br> |
| <a href="../tasks/tasks-126.htm">Running and debugging</a><br> |
| <a href="../tasks/tasks-executionArgs.htm">Setting execution arguments</a> |
| </p> |
| <p> |
| <img border="0" src="../images/ngrelr.png" alt="Related reference" > |
| </p> |
| <p> |
| <a href="../reference/ref-view-package-explorer.htm">Package Explorer</a> |
| </p> |
| |
| </body> |
| </html> |
| |