Class path in MANIFEST.MF can only include jar files?

I want to include class files in other directories, and not in the main class directory.

If I put these directories in the Class-Path property of MANIFEST.MF , this will not work.

Why? Is there any solution other than packing these classes in a jar file?

+6
source share
1 answer

The trailing slash specified in this link is required:

JAR: MANIFEST.MF Path class referencing a directory

+10
source

All Articles