'Running a java class that inherits from other java classes using command line prompt

I'm trying to run a java class in IntelliJ, this class inherits from other classes in the same package and when I try to run it using command line prompt I get so many "cannot find symbols" errors.

My Java directory looks like this: enter image description here

My cmd command: C:\Users\Musta\IdeaProjects\Prototype\src\test\java\org\example>javac LilacServer.java



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source