You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.
Short description of the issue/suggestion:
VMOptions javaagent Parameter directory error
Steps to reproduce the issue/enhancement:
edit plist.info
set vmoptions javaagent <key>VMOptions</key> <array> <string>-javaagent:Contents/Resources/Loader.jar</string> </array>
Contents/MacOS/universalJavaApplicationStub
What is the expected behavior?
Loader.jar can be found
What is the current behavior?
Error opening zip file or JAR manifest missing
Do you have screenshots, GIFs, demos or samples which demonstrate the problem or enhancement?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
universalJavaApplicationStub version: 3.0.6
Mac OS version: 10.15.4
Java version(s): openJDK11
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
use getfullpath is work, for example javaagent:/Users/hywell/Loader.jar
The text was updated successfully, but these errors were encountered:
Thanks for the report. There are a couple of other keys (WorkingDirectory, ClassPath, Arguments, Properties) where we replace occurances of $APP_PACKAGE, $JAVAROOT and $HOME, but not (yet) on the VMOptions key.
But I could add this as an enhancement so you would be able to use it as follows:
I'm submitting a…
Short description of the issue/suggestion:
VMOptions javaagent Parameter directory error
Steps to reproduce the issue/enhancement:
<key>VMOptions</key> <array> <string>-javaagent:Contents/Resources/Loader.jar</string> </array>
What is the expected behavior?
Loader.jar can be found
What is the current behavior?
Error opening zip file or JAR manifest missing
Do you have screenshots, GIFs, demos or samples which demonstrate the problem or enhancement?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Other information (e.g. related issues, suggestions how to fix, links for us to have context)
use getfullpath is work, for example
javaagent:/Users/hywell/Loader.jar
The text was updated successfully, but these errors were encountered: