# this version of the Java Runtime only recognizes class file versions up to X

Для исправления данной ошибки вам требуется сменить версию Java, исходя из значения в ошибке. Ниже приведена таблица, по которой вы можете узнать, какая именно версия Java вам требуется.

{% hint style="warning" %}
Во избежание проблем совместимости, советуем выбирать версию Java выше, чем вам предлагается.&#x20;
{% endhint %}

| Значение в ошибке | Требуемая версия Java |
| ----------------- | --------------------- |
| `51`              | `Java 7`              |
| `52`              | `Java 8`              |
| `53`              | `Java 9`              |
| `55`              | `Java 11`             |
| `58`              | `Java 14`             |
| `60`              | `Java 16`             |
| `61`              | `Java 17`             |
| `62`              | `Java 18`             |
| `63`              | `Java 19`             |
| `64`              | `Java 20`             |
| `65`              | `Java 21`             |
| `66`              | `Java 22`             |


---

# 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://wiki.qwertyx.host/errors-on-start/this-version-of-the-java-runtime-only-recognizes-class-file-versions-up-to-x.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.
