diff --git a/java/jdk12/pkg-plist b/java/jdk12/pkg-plist index 5c0522ccfba2..6f99656363b8 100644 --- a/java/jdk12/pkg-plist +++ b/java/jdk12/pkg-plist @@ -763,8 +763,8 @@ jdk%%JDK_VERSION%%/lib/tools.jar jdk%%JDK_VERSION%%/src.jar @exec mkdir -p %D/share/doc/java @unexec rmdir %D/share/doc/java 2>/dev/null || true -@exec %D/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%" -@unexec %D/bin/unregistervm JDK%%JDK_VERSION%% +@exec %%LOCALBASE%%/bin/registervm "%D/jdk%%JDK_VERSION%%/bin/java # JDK%%JDK_VERSION%%" +@unexec %%LOCALBASE%%/bin/unregistervm "%D/jdk%%JDK_VERSION%%/bin/java" @dirrm jdk%%JDK_VERSION%%/lib @dirrm jdk%%JDK_VERSION%%/jre/lib/security @dirrm jdk%%JDK_VERSION%%/jre/lib/locale/ja_JP.UTF-8/app-defaults