Description
#1 java -cp hello.jar -Xshare:dump -XX:SharedArchiveFile=my.jsa
#2 java -cp hello.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello
#3 ln -s hello.jar hello2.jar
Referring to the "hello.jar" file in any other way than "hello.jar" doesn't work:
#4 java -cp hello2.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello
#5 java -cp ./hello.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello
#6 java -cp /Fullpath/hello.jar -Xshare:on -XX:SharedArchiveFile=my.jsa Hello
Attachments
Issue Links
- duplicates
-
JDK-8167546 enhance os::file_name_strncmp() on Mac OSX
-
- Resolved
-
- relates to
-
JDK-8226967 Minimal VM: FALSE was not declared in this scope
-
- Resolved
-
-
JDK-8167546 enhance os::file_name_strncmp() on Mac OSX
-
- Resolved
-
-
JDK-8207812 Implement Dynamic CDS Archive
-
- Resolved
-
-
JDK-8227370 Remove SharedPathsMiscInfo
-
- Resolved
-