blob: 1fd5de82e5003d12d35dc346f046f73a3d027228 [file]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<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>
Tasks in the task list
</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(&quot;hi&quot;)</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.gif" alt="Related concepts" width="159" height="27">
</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.gif" alt="Related tasks" width="159" height="27">
</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-129.htm">Setting execution arguments</a>
</p>
<p>
<img border="0" src="../images/ngrelr.gif" alt="Related reference" width="159" height="27">
</p>
<p>
<a href="../reference/ref-view-package-explorer.htm">Package Explorer</a>
</p>
<p>
<a href="../hglegal2003.htm"><img src="../images/ngibmcpy2003.gif" alt="Copyright (c) 2000, 2003 IBM Corporation and others. All Rights Reserved." border="0" width="324" height="14"></a>
</p>
</body>
</html>