<commit_before>#!/bin/bash

fw_installed java && return 0

# TODO: Someday get away from apt-get
sudo add-apt-repository -y ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk

# Setup environment variables
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64<commit_msg>Attempt to fix Maven build errors under OpenJDK<commit_after>#!/bin/bash

fw_installed java && return 0

# TODO: Someday get away from apt-get
sudo add-apt-repository -y ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk

# https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1396760
sudo /var/lib/dpkg/info/ca-certificates-java.postinst configure

# Setup environment variables
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
{'fraction_non_alphanumeric': 0.11440107671601615, 'fraction_numerical': 0.02288021534320323, 'mean_word_length': 4.593984962406015, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5270785', 'n_tokens_mistral': 304, 'n_tokens_neox': 267, 'n_words': 62}