Dayananda B V wrote:You're guessing again, and yet again you're wrong.
c:\Java Programs>javac com.jlc.p1.Test84.java
Our "project" directory is where we are going to store our Java application, with packages. If you have a class "myapp.model.User", so it is a class User in the package myapp.model, you would store it like this:
Again c:\project is added to the classpath so that Java knows to look there for classes (and classes in packages).
java -cp c:\project myapp.Main