Created
May 5, 2019 06:49
-
-
Save martinschneider/1fea64693e0b0af917fdf4d298d0f15d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
phases: | |
install: | |
commands: | |
# AWS still only supports Java 8, so we install Java 12 ourselves | |
# https://forums.aws.amazon.com/thread.jspa?threadID=299604 | |
- wget -q https://download.java.net/java/GA/jdk12/GPL/openjdk-12_linux-x64_bin.tar.gz | |
- tar -xzf openjdk-12_linux-x64_bin.tar.gz | |
- export JAVA_HOME=$(pwd)/jdk-12 | |
- export PATH=$(pwd)/jdk-12/bin:$PATH | |
- which java | |
- java -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment