My file structure looks like this:
manifest
CP.java
folder/
X.java
CP is a class which simply prints out System.getProperty("java.class.path")
.
manifest
is:
Main-Class: CP
Class-Path: folder
I make a jar with:
$ jar cvfm x.jar manifest CP.class
Now, the problem is shown:
$ java -jar x.jar
x.jar
How can I make the output
x.jar:folder
?