diff --git a/nexus-oss/PKGBUILD b/nexus-oss/PKGBUILD index 950c86a..dbc05d8 100644 --- a/nexus-oss/PKGBUILD +++ b/nexus-oss/PKGBUILD @@ -8,7 +8,7 @@ pkgdesc='Nexus 3 Repository OSS' arch=('any') url='http://nexus.sonatype.org' license=("custom:$pkgname") -depends=('java-runtime') +depends=('java-runtime=11') replaces=('nexus3') provides=($pkgname) backup=("var/lib/$pkgname/etc/nexus.properties" diff --git a/nexus-oss/pref_jre.cfg b/nexus-oss/pref_jre.cfg index 6e64df7..8346f65 100644 --- a/nexus-oss/pref_jre.cfg +++ b/nexus-oss/pref_jre.cfg @@ -1 +1 @@ -/usr/lib/jvm/default-runtime +/usr/lib/jvm/java-11-openjdk