To compile and run your program you could work in the directory whichis parent of the package directory, in your case is:C:\j2sdk1.4.1_03\binTo compile:javac p1\Demo.javaTo execute:java p1.Demo