Hey Together
As you see in the files attached, i had a problem with the
java -cp command not finding the file, however i do not understand why exactly.
In the first attatchment picture you see the checker2 batch file, with the command "java -cp %MY_CLASSPATH% uebung12.as.aufgabe02.DirectedDFS_TestTask1c" it does not work and doesn't even find the file
DirectedDFS_TestTask1c despite it being in the same directory and it being defined in the class as "package uebung12.as.aufgabe02;"
In the second you see the command line, which as you see, gives out the fact that it couldn't find the file in the first place.
"Fehler: Hauptklasse uebung12.as.aufgabe02.DirectedDFS_TestTask1c konnte nicht gefunden oder geladen werden"
which means Error: Main class uebung12.as.aufgabe02.DirectedDFS_TestTask1c could not be found or loaded.
In the third picture you can see that it is in the same directory.
Does somebody know what the problem is? Thank you all for reading