This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
If class "yeaimmad" is in package "mad" -as opposed to package "ocjp2.mad", then it should be in C:\mad, not C:\ocjp2\mad (which is how I understood your directory layout to be). The directory hierarchy needs to be the same as the package hierarchy.
Joined: Jun 01, 2013
Thanks! You helped me solve
But actually my desired directory hierarchy is unchanged
How I fixed issue is change yeaimmad.java package name