Hi, ich möchte für einen Minecraft-Bukkit-Server ein Plugin mit einer Ober- und einer Unterklasse erstellen und weis nicht wie ich das ganze in der Windows Eingabeaufforderung kompilieren soll. Ich freue mich über jede Antwort.
javac *.java // compliles all java files in the dir java MyClass // runs the particular file
If one class is dependent on another class that hasn't been compiled yet, the program won't run. So you should compile all files before trying to run the program dependent on other files.
If your files are packaged, then something like this