CLASSPATH and Manifest file
19,620
Normally you generate manifest files by using build tools like Maven or Gradle.
If you want to do it manually you have to use following form:
Class-Path: jar1-name jar2-name directory-name/jar3-name
If you want to read more about it please visit http://docs.oracle.com/javase/tutorial/deployment/jar/downman.html
Author by
user3192053
Updated on June 04, 2022Comments
-
user3192053 almost 2 years
I do not understand the rules of setting a classpath within a manifest of a jar file.
I seem to get it to work and then not get it to work. From the documentation I have read so far I only know you can't use wildcards
Could someone please post a link on how to set the classpath within a jar file