<commit_before>#!/bin/bash -e

echo "================ Installing openjdk-9-jdk ================="

add-apt-repository -y ppa:openjdk-r/ppa
apt-get update
sudo apt-get -o Dpkg::Options::="--force-overwrite" install openjdk-9-jdk
<commit_msg>use same method to install java9 as u14<commit_after>#!/bin/bash -e

echo "================ Installing openjava9-installer ================="

OPENJDK9_VER=9.0.4
cd /usr/lib/jvm
wget http://download.java.net/java/GA/jdk9/"$OPENJDK9_VER"/binaries/openjdk-"$OPENJDK9_VER"_linux-x64_bin.tar.gz
tar -xzf openjdk-"$OPENJDK9_VER"_linux-x64_bin.tar.gz
mv jdk-"$OPENJDK9_VER" java-9-openjdk-amd64
update-alternatives --install /usr/bin/java java /usr/lib/jvm/java-9-openjdk-amd64/bin/java 1
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/java-9-openjdk-amd64/bin/javac 1

{'fraction_non_alphanumeric': 0.22195121951219512, 'fraction_numerical': 0.036585365853658534, 'mean_word_length': 4.864285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3995561', 'n_tokens_mistral': 357, 'n_tokens_neox': 329, 'n_words': 51}