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
I, Thomas Rørvik Skjølberg, have read and do accept the MuleSoft Contributor Agreement | |
at http://www.mulesoft.org/legal/contributor-agreement.html | |
Accepted on Mon Oct 20 2014 20:29:16 GMT+0200 (CEST) |
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
# Autodetect JAVA_HOME for Maven builds | |
# Linux / Fedora | |
# Prefer symbolic links if available | |
# JAVA 8 LTS | |
JDK8S=$(find /usr/lib/jvm -maxdepth 1 -type l -path "*/java-1.8.0-openjdk*" -print | sort -r) | |
if [ -z "$JDK8S" ]; then | |
echo "$JDK8S" | |
JDK8S=$(find /usr/lib/jvm -maxdepth 1 -type d -path "*/java-1.8.0-openjdk*" -print | sort -r) |
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
# Mac | |
# JAVA 11 LTS | |
JDK11=/Library/Java/JavaVirtualMachines/temurin-11.jdk/Contents/Home | |
# JAVA 17 LTS | |
JDK17=/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home | |
############################################## | |
# maven aliases |