source : CVS Head
config : PC + Windows 98 + JDK 1.4.2_04
sumup : incorrect package name
In the CDK project, you may find a package called "jmol-
applet" which is located in the "src" folder and which
contains other packages.
This name is not an appropriate package name, the
reason is exposed in the following quotation.
The format of the package declaration is quite simple.
The keyword package occurs first and is followed by
the package name. The package name is a series of
elements separated by periods. When class files are
created, they must be placed in a directory hierarchy
that reflects their package names. You must be careful
that each component of your package name hierarcht is
a legitimate directory name on all platforms. Therefore,
you must not use characters such as space, forward
slash, backslash, or other symbols. Use only
alphanumeric characters in package names.
Philip Heller, Simon Roberts
Complete Java 2 Certification study guide 4th edition,
Log in to post a comment.