If a package is specified during Java program creation, integration in the JAR file takes place for each package directory. Do not specify individual Class files only.
Figure 9-15 shows an example of integrating Class files in JAR files.
Figure 9-15 Example of integrating Class files in JAR files
The Class files with the same name can be integrated in the same JAR file if their packages are different.