Skip to content

Commit

Permalink
Update default JDK to JDK 11
Browse files Browse the repository at this point in the history
Current default JDK was set to JDK 8 to avoid issues with Spark 2.x. Switched to JDK  11 for support of Java UDFs
  • Loading branch information
zoharsan authored Jun 2, 2021
1 parent f291d38 commit 9ca0545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt-get update && \
apt-get install -y libssl-dev libffi-dev && \
apt-get install -y vim && \
apt-get install -y openjdk-11-jdk
RUN update-alternatives --set java /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
RUN update-alternatives --set java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
RUN sudo -u jovyan /opt/conda/bin/curl -Lo coursier https://git.io/coursier-cli
RUN chown -R jovyan:users /home/jovyan/coursier && chmod +x /home/jovyan/coursier
RUN sudo -u jovyan /home/jovyan/coursier launch --fork almond:$almond_version --scala $scala_kernel_version -- --install
Expand Down

0 comments on commit 9ca0545

Please sign in to comment.