tofi86 / universalJavaApplicationStub

universalJavaApplicationStub - an alternative Application launcher script for Java based macOS Apps that works with both Apple's and Oracle's PList format and supports the old Apple Java 6 as well as all the latest Oracle/OpenJDK/Adopt/Corretto JRE's/JDK's. Plus it supports drag&drop to the Dock icon 🎉
MIT License
356 stars 168 forks source link

Expand Variables JVMOptions and JVMDefaultOptions #99

Closed najdanovicivan closed 3 years ago

najdanovicivan commented 3 years ago

I'm submitting a…

Short description of the issue/suggestion: Expand variables $APP_PACKAGE, $JAVAROOT, $USER_HOME into JVMOptions and JVMDefaultOptions

What is the motivation / use case for changing the behavior? This is relate to bug https://bugs.openjdk.java.net/browse/JDK-8255877 I'm building the app with custom PKCS#11 Middleware and I need to embed the dylib inside the bundle

tofi86 commented 3 years ago

Hi @najdanovicivan, thanks for your feature request. I added this with ba80b38 on develop branch and you can test it if you like...