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.5.1 .codebuild/scripts/install-java.sh
jets-1.5.0 .codebuild/scripts/install-java.sh
jets-1.4.11 .codebuild/scripts/install-java.sh
jets-1.4.10 .codebuild/scripts/install-java.sh
jets-1.4.9 .codebuild/scripts/install-java.sh
jets-1.4.8 .codebuild/scripts/install-java.sh
jets-1.4.7 .codebuild/scripts/install-java.sh
jets-1.4.6 .codebuild/scripts/install-java.sh
jets-1.4.5 .codebuild/scripts/install-java.sh
jets-1.4.4 .codebuild/scripts/install-java.sh
jets-1.4.3 .codebuild/scripts/install-java.sh
jets-1.4.2 .codebuild/scripts/install-java.sh
jets-1.4.1 .codebuild/scripts/install-java.sh
jets-1.4.0 .codebuild/scripts/install-java.sh
jets-1.3.9 .codebuild/scripts/install-java.sh
jets-1.3.8 .codebuild/scripts/install-java.sh
jets-1.3.7 .codebuild/scripts/install-java.sh
jets-1.3.6 .codebuild/scripts/install-java.sh
jets-1.3.5 .codebuild/scripts/install-java.sh
jets-1.3.4 .codebuild/scripts/install-java.sh