1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Remove installation of OpenJDK (#1597)

ElasticSearch is bundled with its own version of OpenJDK. Using a standalone JDK is not necessary or recommended.
This commit is contained in:
danielcolquitt 2025-04-10 15:29:23 +01:00 committed by GitHub
parent e0a1b3366f
commit a21d5807f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,12 +27,6 @@ It deliberately does not allow searching for arbitrary strings in the entire dat
Mastodon is tested with Elasticsearch version 7. It should support OpenSearch, as well as Elasticsearch versions 6 and 8, but those setups are not officially supported.
{{< /hint >}}
Elasticsearch requires a Java runtime. If you dont have Java already installed, do it now. Assuming you are logged in as `root`:
```bash
apt install openjdk-17-jre-headless
```
Add the official Elasticsearch repository to apt:
```bash