Skip to content

Commit

Permalink
scripts: force use of JDK 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Jan 15, 2020
1 parent 2322b3e commit ef57662
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/build.mac.command
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ project_root_folder=$(dirname ${scripts_folder})

cd ${project_root_folder}

# Force use of 1.8
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home

# Add maven path to environment.
export PATH=${HOME}/opt/apache-maven-3.6.3/bin:${PATH}
export PATH=${HOME}/opt/apache-maven-3.6.3/bin:${JAVA_HOME}/bin:${PATH}

# Remove ilg plugins and artefacts from cache.
echo "clearing cache..."
Expand Down

0 comments on commit ef57662

Please sign in to comment.