The Big List of Problems
From Huben's Wiki
(Created page with "Using a compiler and programming environment for the first time is frustrating and tricky. Let's collect a bunch of the important problems and their causes, so that you can scan...") |
|||
Line 1: | Line 1: | ||
Using a compiler and programming environment for the first time is frustrating and tricky. Let's collect a bunch of the important problems and their causes, so that you can scan the list rather than getting stuck. | Using a compiler and programming environment for the first time is frustrating and tricky. Let's collect a bunch of the important problems and their causes, so that you can scan the list rather than getting stuck. | ||
+ | |||
+ | == JCreator == | ||
; Jcreator won't let me edit the files. | ; Jcreator won't let me edit the files. | ||
Line 9: | Line 11: | ||
; JCreator is still showing my old program, not the new one, and it compiles fine. | ; JCreator is still showing my old program, not the new one, and it compiles fine. | ||
: You may have to set the project to look in another class for the main(). | : You may have to set the project to look in another class for the main(). | ||
+ | |||
+ | == Compiler == | ||
+ | |||
+ | The commonest compiler complaints include: | ||
+ | |||
+ | * You haven't declared a field. | ||
+ | * Calling a method with the wrong arguments. | ||
+ | * Non-matching "double" or 'single' quotes, (parentheses), or {braces} |