> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tinnzstore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Error Unsupported Class Version

> Cocokkan versi Java server dengan plugin/mod.

Error **`UnsupportedClassVersionError`** muncul saat server, plugin, atau mod dikompilasi untuk versi **Java yang lebih baru** daripada Java yang dipakai server Anda.

Contoh pesan:

txt

```
java.lang.UnsupportedClassVersionError: ... has been compiled by a more recent
version of the Java Runtime (class file version 65.0), this version of the
Java Runtime only recognizes class file versions up to 61.0
```

Artinya file butuh Java 21 (class 65) sementara server jalan di Java 17 (class 61).

## Cara Mengatasi

1. ### Cek Versi Java Server

Jalankan di **Console**:

`java -version
`

Catat versi yang muncul (mis. `17`, `21`).
2\. ### Samakan Java dengan Kebutuhan Plugin/Mod

Cara terbaik: naikkan versi Java server agar cocok dengan plugin/mod.

1. Buka tab **Startup**.
2. Cari opsi **Docker Image** atau **Java Version**.
3. Pilih image Java yang dibutuhkan (mis. Java 21).
4. **Restart** server.
5. ### Atau Turunkan Versi Plugin/Mod

Jika tidak bisa menaikkan Java, unduh versi plugin/mod yang cocok dengan Java server Anda (biasanya tercantum di halaman unduhan).

## Tabel Versi Java

| Class Version | Java |
| - | - |
| 52 | Java 8 |
| 55 | Java 11 |
| 61 | Java 17 |
| 65 | Java 21 |

Cocokkan angka `class file version` di error dengan tabel di atas untuk tahu Java yang dibutuhkan.

## Butuh Bantuan?

> [!NOTE]
>
> Hubungi SupportBuka tiket atau tanyakan langsung di Discord Tinnzstore.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.