diff --git a/install_libs.sh b/install_libs.sh index 4467093c..389ab93e 100755 --- a/install_libs.sh +++ b/install_libs.sh @@ -6,10 +6,12 @@ # so you may need root privilege to execute this script set -x +STORLETS_JDK_VERSION=${STORLETS_JDK_VERSION:-11} + # install c library cd src/c/sbus make && make install cd - # Install java library -ant install +STORLETS_JDK_VERSION=${STORLETS_JDK_VERSION} ant install diff --git a/src/java/SBus/build.xml b/src/java/SBus/build.xml index 4e75afbb..b6423163 100644 --- a/src/java/SBus/build.xml +++ b/src/java/SBus/build.xml @@ -16,6 +16,8 @@ + + @@ -37,8 +39,8 @@ - - + +