Edit: This is not a duplicate because the other thread contains solutions and suggestions based on correcting syntax within my code. My code compiles and runs just fine within an IDE, as I already stated in the original post. I am simply placing this statement at the top so that it will not be missed by do-gooders who get too excited about the chance to mark duplicates and forget to read content. Gosh I love stackexchange.
Good afternoon! I am trying to refresh my Java skills after a lot of years off, and I am following along with an online textbook.
The textbook suggested that readers get familiar with command line usage, which wasn't really emphasized in college. One of the tasks was to drag two java classes into any working directory, compile and run them with javac and java commands.
javac TextIO.java
works great.
javac NewWorld.java
produces 12 identical errors:
error: cannot find symbol
symbol: variable TextIO
location: class NewWorld
TextIO is the class with some subroutines that read and write to wherever. NewWorld is the main class with some little hello world type stuff that reads input and writes to a file with the TextIO class.
Help me help myself understand the command line environment. Let me know if you need more details!