Runtime error "wrong name: applicationarbre / Main"
<p>I add the path of jdk in the environment variable "path", my position is on the directory of the application: "C:\Users\20900994t\Desktop\applicationArbre_2_1\src\applicationarbre" 
I have 4 .java files . </p>

<p>I tried 2 methodes. </p>

<p>The first method were: 
1. "javac Main.java" 2. "java Main" </p>

<p>The second method were: 
1. "javac *. java" 2. "java Main.java" </p>

<p>These methods generate all of the files . classes of all the classes I have, but at the command line it shows me that the purpose of the other classes are not recognized and when I did "java Main", it shows me "NoClasseDefFoundError"</p>

<p>Actually, those method works well in environment Net Beans, however I need to execute it on command line with .bat file .
 Thank's</p>
