Sha256: 7d0abbac5add8d8a4d67c71b0acdfc1b131c96443c62a01768fac1b555108e53

Contents?: true

Size: 769 Bytes

Versions: 175

Compression:

Stored size: 769 Bytes

Contents

#!/bin/bash -exu

# https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8
apt-get update
apt-get install default-jre -y

# to make java 1.8 by default if you keep java-1.7.0.  We dont need to do this:
# update-alternatives --config java #pick java 1.8
# update-alternatives --config javac #pick java 1.8

# to show java_home
java -XshowSettings:properties -version

###
# maven install: https://maven.apache.org/install.html
#
# maven url is down, comment out since we're not using maven
# wget http://mirror.cogentco.com/pub/apache/maven/maven-3/3.5.3/binaries/apache-maven-3.5.3-bin.tar.gz
# tar zxf apache-maven-3.5.3-bin.tar.gz
# mkdir -p /opt
# mv apache-maven-3.5.3 /opt/maven
# ln -s /opt/maven/bin/mvn /usr/local/bin/mvn

Version data entries

175 entries across 175 versions & 3 rubygems

Version Path
jets-1.9.1 .codebuild/scripts/install-java.sh
jets-1.9.0 .codebuild/scripts/install-java.sh
jets-1.8.14 .codebuild/scripts/install-java.sh
jets-1.8.13 .codebuild/scripts/install-java.sh
jets-1.8.12 .codebuild/scripts/install-java.sh
jets-1.8.11 .codebuild/scripts/install-java.sh
jets-1.8.10 .codebuild/scripts/install-java.sh
jets-1.8.9 .codebuild/scripts/install-java.sh
jets-1.8.8 .codebuild/scripts/install-java.sh
jets-1.8.7 .codebuild/scripts/install-java.sh
jets-1.8.6 .codebuild/scripts/install-java.sh
jets-1.8.5 .codebuild/scripts/install-java.sh
jets-1.8.4 .codebuild/scripts/install-java.sh
jets-1.8.3 .codebuild/scripts/install-java.sh
jets-1.8.2 .codebuild/scripts/install-java.sh
jets-1.8.1 .codebuild/scripts/install-java.sh
jets-1.8.0 .codebuild/scripts/install-java.sh
jets-1.7.2 .codebuild/scripts/install-java.sh
jets-1.7.1 .codebuild/scripts/install-java.sh
jets-1.7.0 .codebuild/scripts/install-java.sh