I have been trying to find why my program isn't running from the terminal. But it keeps saying it can't find the packages/packages do not exist when they do. Here are some pictures. Here Is one 1 here is the other one 2 Here is the last one 3
This is the code that I get from the errors:
PS C:\Users\alexg\IdeaProjects\MonstersVersusHeroes\src> java mvh\Main.java world.txt log.txt 12345
mvh\Main.java:3: error: package mvh.util does not exist
import mvh.util.Reader;
^
mvh\Main.java:4: error: package mvh.world does not exist
import mvh.world.World;
^
mvh\Main.java:126: error: cannot find symbol
private static void runSimulation(World world) {
^
symbol: class World
location: class Main
mvh\Main.java:46: error: cannot find symbol
Menu.setup(fileLog);
^
symbol: variable Menu
location: class Main
mvh\Main.java:47: error: cannot find symbol
Menu.println("Arguments: "+ Arrays.toString(args));
^
symbol: variable Menu
location: class Main
mvh\Main.java:48: error: cannot find symbol
World world = Reader.loadWorld(fileWorld);
^
symbol: class World
location: class Main
mvh\Main.java:48: error: cannot find symbol
World world = Reader.loadWorld(fileWorld);
^
symbol: variable Reader
location: class Main
mvh\Main.java:97: error: cannot find symbol
if (Menu.checkYes()) {
^
symbol: variable Menu
location: class Main
mvh\Main.java:129: error: cannot find symbol
Menu.println(message);
^
symbol: variable Menu
location: class Main
mvh\Main.java:130: error: cannot find symbol
if (Menu.continueSimulation()) {
^
symbol: variable Menu
location: class Main
mvh\Main.java:137: error: cannot find symbol
Menu.println(message);
^
symbol: variable Menu
location: class Main
11 errors
error: compilation failed
And the error at the end says error compilation failed.
As you can clearly see the program does have the packages where they need to be.
If someone can help to find out what's wrong and how I can run my program.