- 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.
推薦閱讀
- 騰訊iOS測試實踐
- Developing Middleware in Java EE 8
- 碼上行動:零基礎學會Python編程(ChatGPT版)
- R語言編程指南
- Visual Basic程序設計習題解答與上機指導
- Oracle從入門到精通(第5版)
- Kotlin開發教程(全2冊)
- 細說Python編程:從入門到科學計算
- 案例式C語言程序設計實驗指導
- Learning Nessus for Penetration Testing
- CodeIgniter Web Application Blueprints
- 從零開始學UI:概念解析、實戰提高、突破規則
- Python物理建模初學者指南(第2版)
- Android嵌入式系統程序開發(基于Cortex-A8)
- Clojure for Finance