- 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.
推薦閱讀
- Java面向?qū)ο笏枷肱c程序設(shè)計
- ASP.NET 3.5程序設(shè)計與項目實踐
- Mastering C++ Multithreading
- Unity 3D腳本編程:使用C#語言開發(fā)跨平臺游戲
- jQuery技術(shù)內(nèi)幕:深入解析jQuery架構(gòu)設(shè)計與實現(xiàn)原理
- ASP.NET Web API Security Essentials
- Elasticsearch Blueprints
- jQuery Mobile Web Development Essentials(Second Edition)
- Java EE互聯(lián)網(wǎng)輕量級框架整合開發(fā):SSM+Redis+Spring微服務(wù)(上下冊)
- 深入理解Zabbix監(jiān)控系統(tǒng)
- VMware vRealize Orchestrator Essentials
- The C++ Workshop
- 我跟爸爸學(xué)編程:從Python到C++
- 編程改變生活:用Python提升你的能力(基礎(chǔ)篇·微課視頻版)
- Java核心技術(shù)第10版(套裝共2冊)