Relative Content

Tag Archive for javanetbeanscompiler-errors

Symbol not found when compiling from terminal

I have a project I created in NetBeans IDE with 3 files – ReadFileString, which has my main, BagInterface, and ArrayBag which implements the interface. They are all in the same folder and I am in it via terminal. It should be able to compile and run from the command line using only “javac ReadStringFile.java”. However, whenever I try to do this, I get the following error: