diff --git a/README.md b/README.md index f545985..7f6e724 100644 --- a/README.md +++ b/README.md @@ -88,13 +88,12 @@ Then create an .env file to store variables in the root folder (there is an exam Install all the requirements by doing `python3 -m pip install -r requirements.txt` (I recommend using virtualenv to not interfere with your system). -If you need to install Java, there is some step to have the same as the [Docker image built for the project](https://gitlab.com/ConfrerieDuKassoulait/lavalink/), on Debian-based distro: +If you need to install Java, there is some step to have the same as the [Docker image built for the project](https://gitlab.com/ConfrerieDuKassoulait/lavalink/), on Debian-based distro, I recommand using [SDKMAN](https://sdkman.io/): ```bash -wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add - -sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/ -sudo apt update -y -sudo apt install adoptopenjdk-16-openj9 -y +curl -s "https://get.sdkman.io" | bash +source "$HOME/.sdkman/bin/sdkman-init.sh" +sdk install java 17.0.1-tem ``` -On Windows just go [to their site](https://adoptopenjdk.net/?variant=openjdk16&jvmVariant=openj9). +On Windows just go [to their site](https://adoptium.net/archive.html) and choose the latest version of Temurin 17 (LTS). Then, simply run `start.bat` if you are on Windows or `start.sh` if on Debian-based distro to launch the bot.