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.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.14.132