I've looked up why and I saw that the problem is either with not specifying the package or with the classpath. I don't use any packages so it must be with the classpath and I read some java documentation on it and I thought I figured out where to set it but it still doesn't work. I did
set classpath = C:\Program Files\Java\jdk1.8.0_60\lib\*;C:\Program Files\Java\jdk1.8.0_60\bin\*;
but that didn't work, so I guess I have no clue what to set the classpath to. Am I just setting it to the wrong folder or is there a more significant problem?
a)
public class Hello_World{
public static void main(String[] args){
System.out.println("Hello World");
}
}
b) I already ran javac Hello_world.java and got a class file and now I'm running java hello_world
c) the error message "Error: could not find or load main class Hello_World"