aur/nexus-oss/nexus-oss
nyyu abb0d8a13b
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/cron/woodpecker Pipeline was successful
fix(nexus): missing add opens
2023-08-03 09:23:38 +02:00

10 lines
699 B
Bash

#!/bin/sh
java=$(</usr/lib/nexus-oss/.install4j/pref_jre.cfg)
java_opts=$(</usr/lib/nexus-oss/bin/nexus.vmoptions)
exec ${java}/bin/java -Dinstall4j.jvmDir=${java} -Dexe4j.moduleName=/usr/lib/nexus-oss/bin/nexus -Dinstall4j.launcherId=245 -Dinstall4j.swt=false -Di4jv=0 -Di4j.vpt=true \
${java_opts} -classpath '/usr/lib/nexus-oss/.install4j/i4jruntime.jar:/usr/lib/nexus-oss/lib/boot/*:/usr/lib/nexus-oss/lib/endorsed/*' \
--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \
com.install4j.runtime.launcher.UnixLauncher $1 9d17dc87 0 0 org.sonatype.nexus.karaf.NexusMain