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-0.6.6 .codebuild/scripts/install-java.sh
jets-0.6.5 .codebuild/scripts/install-java.sh
jets-0.6.4 .codebuild/scripts/install-java.sh
jets-0.6.3 .codebuild/scripts/install-java.sh
jets-0.6.2 .codebuild/scripts/install-java.sh
jets-0.6.1 .codebuild/scripts/install-java.sh
jets-0.6.0 .codebuild/scripts/install-java.sh
jets-0.5.8 .codebuild/scripts/install-java.sh
jets-0.5.7 .codebuild/scripts/install-java.sh
jets-0.5.6 .codebuild/scripts/install-java.sh
jets-0.5.5 .codebuild/scripts/install-java.sh
jets-0.5.4 .codebuild/scripts/install-java.sh
jets-0.5.3 .codebuild/scripts/install-java.sh
jets-0.5.2 .codebuild/scripts/install-java.sh
jets-0.5.1 .codebuild/scripts/install-java.sh