Skip to content

Commit 259c9d1

Browse files
Update install.sh
1 parent 2cb4c85 commit 259c9d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/android-sdk/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ OG_JAVA_HOME=$JAVA_HOME
6060

6161
# checking the output as dirname is returning “.”
6262

63-
update-alternatives --list javac 2>&1 | head -n 1
63+
javac --version
6464

6565
export JAVA_HOME=$(dirname $(dirname $(update-alternatives --list javac 2>&1 | head -n 1)))
6666

0 commit comments

Comments
 (0)