Compiling under consol
I would like to complie a program.
package B.C;
class PakietD{
public static void main(String arg[]){
PakietC x = new PakietC();
x.pokaz();
}
}
and
package B.C;
class PakietC{
String pakietC="pakietC";
public void pokaz(){
System.out.println("Komunikat z pak C");
}
}
It is ok when I use a Eclipse or JCreator, but when I compile under console, it is error that there is no access to PakietC. This two programs are in the same folder. How should I compile this?

