So I have a file tree in Linux that looks like this:
- ~/keyboard_warriors/
- test/
- ConfigTest.java
- ConfigParser.class
- ConfigParser.java
- test/
The problem is that when I try to type in Terminal:javac ConfigTest.java
I get the error:
ConfigTest.java:2: error: package keyboard_warriors does not exist
import keyboard_warriors.*;
^
This is really bugging me and I could not find any answers anywhere. If you could solve my problem, I would be a very happy person.
javac -cp "." keyboard_warriors/test/ConfigTest.java- Jerfov2