Prev | Home | Next

Errors Tab

Getting Started

Concepts

   Turtles

   Working with
   Directories

   Class List

   Drag and Drop onto
   the Class List

   Edit Tab

   Display Tab

   Errors Tab

  LeJOS MindStorms

Reference

The Errors Tab displays any compilation errors that might occur when compiling your Java source code into executable bytecodes. These errors are sometimes the result of simple mistyping and sometimes the result of more serious programming errors.

Error messages come from the Java compiler and can sometimes be confusing when first starting out programming. If there are multiple errors in a Java class, they are listed one after the other. Sometimes one error will cause the Java compiler to become “confused” and result in other spurious errors. Often a good strategy is to fix the first errors that occurred and then recompile to see if that causes later errors to go away.

Each error starts with the file and line number on which the error was found, along with a brief message. The exact text of the remainder of the error depends upon what type of problem was encountered.

By default, the Errors Tab displays the errors as separate clickable entries. By clicking on an error, Jurtle will switch back to the Edit Tab and select the line that the error occurred on. This makes it easy for you to find and correct the mistake.

By clicking the Raw Text tab at the bottom, you can also display the error messages exactly as the Java compiler generated them. This can be useful if you need to copy the error messages to paste them somewhere else.