- Mastering Java 11
- Dr. Edward Lavieri
- 26字
- 2025-02-25 06:41:47
Using the AppCDS archive
To use the AppCDS archive, we issue the -Xshare:on command line option, as shown here:
java -Xshare:on -XX:+UseAppCDS -XX:SharedArchiveFile=ch2.jsa -cp ch2.jar Chapter2