diff --git a/pkg/arch/PKGBUILD b/pkg/arch/PKGBUILD index 3321142608e6a24c622aea0fe132973433c815ea..24f9ea9bf3756f7dc8606231bb52f238d0f23b1e 100644 --- a/pkg/arch/PKGBUILD +++ b/pkg/arch/PKGBUILD @@ -24,7 +24,7 @@ MAN8PAGE=${pkgname}.8 build(){ cd "$pkgname-$pkgver" - export JAVA_HOME="/usr/lib/jvm/java-${_reqjava}-openjdk" + export JAVA_HOME="$(pwd)/buildSrc/linux/jdk-11.0.2/" [ ! -d $JAVA_HOME ] && echo "ERROR: $JAVA_HOME does not exist" && exit 3 ./gradlew dist }