Skip to content

Commit ef57662

Browse files
committed
scripts: force use of JDK 1.8
1 parent 2322b3e commit ef57662

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/build.mac.command

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@ project_root_folder=$(dirname ${scripts_folder})
3636

3737
cd ${project_root_folder}
3838

39+
# Force use of 1.8
40+
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home
41+
3942
# Add maven path to environment.
40-
export PATH=${HOME}/opt/apache-maven-3.6.3/bin:${PATH}
43+
export PATH=${HOME}/opt/apache-maven-3.6.3/bin:${JAVA_HOME}/bin:${PATH}
4144

4245
# Remove ilg plugins and artefacts from cache.
4346
echo "clearing cache..."

0 commit comments

Comments
 (0)