Skip to content

Commit

Permalink
Update gitpod dockerfile with java 17 default
Browse files Browse the repository at this point in the history
mc 1.18 requires java 17, as does fabric api, best make sure the remote dev env can do its duty
  • Loading branch information
Merith-TK authored and toad-dev committed Jan 5, 2022
1 parent 1dd6c8d commit 69af1de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/gitpod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ USER gitpod

# Install Java 8 and 16
RUN sudo apt-get -q update && \
sudo apt install -yq openjdk-8-jdk openjdk-16-jdk
sudo apt install -yq openjdk-8-jdk openjdk-16-jdk openjdk-17-jdk

# This is so that you can use java 8 until such a time as you switch to java 16
RUN sudo update-java-alternatives --set java-1.16.0-openjdk-amd64
RUN sudo update-java-alternatives --set java-1.17.0-openjdk-amd64

0 comments on commit 69af1de

Please sign in to comment.