Hi, I'm a beginner in Java. I have the following problem: "Error: Could not find or load main class FirstClass"
I have done the following things in cmd:
h:cd h:My Namejavac FirstClass.javajava FirstClass
after the last command I get this error:"Error: Could not find or load main class FirstClass".
I have the Java SE Developer Kit 7u45 from here: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
How can I solve this? What I'm missing?
Thanks in advance for your help!