- Java 11 and 12:New Features
- Mala Gupta
- 125字
- 2021-07-02 12:27:03
Manual creation of classes.jsa
This shared archive file can also be created manually using the following runtime command (you should have enough permissions to write to the target directory):
java -Xshare:dump
Here's a sample output of the preceding command:

As you can see from the output messages in the preceding screenshot, this command performs a lot of operations—it loads classes, links them, counts the classes that are included in the shared archive, allocates read-write and read-only objects, and a lot more.
If the file already exists, the preceding command simply overrides the existing file.
The shared archive file that you create with the preceding command doesn't include all the system API classes or interfaces. It includes the ones that are required at startup.
推薦閱讀
- 編程的修煉
- 無代碼編程:用云表搭建企業數字化管理平臺
- PyQt從入門到精通
- Access 2010數據庫基礎與應用項目式教程(第3版)
- 深入淺出Android Jetpack
- Mastering OpenCV 4
- 大學計算機基礎(第2版)(微課版)
- 零基礎學Python編程(少兒趣味版)
- 現代C:概念剖析和編程實踐
- 嵌入式Linux C語言程序設計基礎教程
- AMP:Building Accelerated Mobile Pages
- Drupal 8 Development:Beginner's Guide(Second Edition)
- 基于MATLAB的控制系統仿真及應用
- Clojure編程樂趣
- Lucene 4 Cookbook