Error in Java files

When I try to compile Java classes that have package statements in it, I get an error because it is not properly stored in the proper packages as named in the package statement. When I install these classes into their appropriate packages, is it supposed to be correct or is there anything else I have to do to set the packages properly or configure anything else in those Java files?
[384 byte] By [__gini2] at [2007-11-20 9:44:03]
# 1 Re: Error in Java files
Java source files and class files should sit in a directory hierarchy that mirrors their package hierarchy, usually with source and class files in separate directory trees.

The parent directory of the class files directory hierarchy should appear on the classpath.

It is quite unusual to get the problem you describe as Java source and class files are usually supplied with their relevant directory paths (e.g. in zip files, or in jar files).

The sooner you start to code, the longer the program will take...
R. Carlson
dlorde at 2007-11-10 2:14:41 >