# Java OpenJDK optimization pack

The *Java-OpenJDK* optimization pack enables the ability to optimize Java applications based on the OpenJDK and Oracle HotSpot JVM. Through this optimization pack, Akamas is able to tackle the problem of performance of JVM-based applications from both the point of view of cost savings and quality of service.

To achieve these goals the optimization pack provides parameters that focus on the following areas:

* Garbage collection
* Heap
* JIT

Similarly, the bundled metrics provide visibility on the following aspects of tuned applications:

* Heap and memory utilization
* Garbage-collection
* Execution threads

## Component Types

The optimization pack supports the most used versions of OpenJDK and Oracle HotSpot JVM.

<table><thead><tr><th width="236">Component Type</th><th>Description</th></tr></thead><tbody><tr><td><a href="java-openjdk-pack/java-openjdk-8">Java OpenJDK 8</a></td><td>Java OpenJDK 8 JVM</td></tr><tr><td><a href="java-openjdk-pack/java-openjdk-11">Java OpenJDK 11</a></td><td>Java OpenJDK 11 JVM</td></tr></tbody></table>

## Installing <a href="#workflow-design" id="workflow-design"></a>

Here’s the command to install the Java OpenJDK optimization pack using the Akamas CLI:

```
akamas install optimization-pack Java-OpenJDK
```

For more information on the process of installing or upgrading an optimization pack refer to [Install Optimization Packs](https://docs.akamas.io/akamas-docs/3.1.3/using-akamas/preparing-optimization-studies/modeling-components/installing-optimization-packs).<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.akamas.io/akamas-docs/3.1.3/akamas-reference/optimization-packs/java-openjdk-pack.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
