Skip to content

Commit

Permalink
Update mac startup script for jdk 21
Browse files Browse the repository at this point in the history
  • Loading branch information
jrobinso committed Sep 15, 2024
1 parent bfd072f commit e16fd78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mac.app/Contents/MacOS/IGV.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ prefix=`dirname $(readlink $0 || echo $0)`

# Check whether or not to use the bundled JDK
echo ${prefix}
if [ -d "${prefix}/../jdk-17" ]; then
if [ -d "${prefix}/../jdk-21" ]; then
echo echo "Using bundled JDK."
JAVA_HOME="${prefix}/../jdk-17"
JAVA_HOME="${prefix}/../jdk-21"
PATH=$JAVA_HOME/bin:$PATH
else
echo "Using system JDK."
Expand Down

0 comments on commit e16fd78

Please sign in to comment.