I 've created a class within the package p1 which i import in another class.
This program works perfectly fine in the IDEs(I used Eclipse),
but shows the following error when run through the command prompt:
Error:
package p1 does not exists.
My files are:
the class in package p1:
the class which imports package p1:
please let me know whats causing this error.
Thank you in advance.