And Green wrote:I'm currently writing new classes and compiling them successfully, when I try to reference the new class types in a main method (in a separate file but same directory) the main method cannot find my new classes and will not compile.
("cannot find symbol class: <classname>")
Both classes/files are in the same directory. Neither file belongs to any package.
Any ideas? (I'm imagining the answer may be quite embarassingly obvious!)
Have you tried fixing the package issue -- putting all your code in proper packages?