Skip to content

Commit

Permalink
Update install_oracle_jdk.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Jan 4, 2018
1 parent 53536f3 commit 6340242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion additional_container_files/bin/install_oracle_jdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BUILD_VERSION=b16
JAVA_BUNDLE_ID=aa0333dd3019491ca4f6ddbe78cdb6d0

# Install JAVA stuff
RUN wget -nv --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/$JAVA_VERSION-$BUILD_VERSION/$JAVA_BUNDLE_ID/jdk-$JAVA_VERSION-linux-x64.rpm" -O /tmp/jdk-8-linux-x64.rpm && \
wget -nv --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/$JAVA_VERSION-$BUILD_VERSION/$JAVA_BUNDLE_ID/jdk-$JAVA_VERSION-linux-x64.rpm" -O /tmp/jdk-8-linux-x64.rpm && \
yum -y install /tmp/jdk-8-linux-x64.rpm && \
rm -f /tmp/jdk-8-linux-x64.rpm && \
alternatives --install /usr/bin/java jar $JAVA_HOME/bin/java 200000 && \
Expand Down

0 comments on commit 6340242

Please sign in to comment.