[form Dmitry Z]
Here is the sample code:
UserJvmOptionsService ujo = UserJvmOptionsService.getUserJVMDefaults();
Map<String, String> userJVMOptions = ujo.getUserJVMOptions();
for (Entry<String, String> pair : userJVMOptions.entrySet()) {
System.out.println(pair.getKey() + " = " + pair.getValue());
}
On Win64 I got this:
java.lang.UnsatisfiedLinkError: jdk.packager.services.userjvmoptions.LauncherUserJvmOptions._getUserJvmOptionKeys()[Ljava/lang/String;
at jdk.packager.services.userjvmoptions.LauncherUserJvmOptions._getUserJvmOptionKeys(Native Method)
at jdk.packager.services.userjvmoptions.LauncherUserJvmOptions.getUserJVMOptions(LauncherUserJvmOptions.java:122)
at com.oracle.appbundlers.tests.functionality.UserFriendlyJvmOptionsTest.getAdditionalParams(UserFriendlyJvmOptionsTest.java:55)
at com.oracle.appbundlers.tests.functionality.TestBase.getAllParams(TestBase.java:101)
at com.oracle.appbundlers.tests.functionality.TestBase.cleanUp(TestBase.java:253)
at com.oracle.appbundlers.tests.functionality.TestBase.runTest(TestBase.java:208)
Here is the sample code:
UserJvmOptionsService ujo = UserJvmOptionsService.getUserJVMDefaults();
Map<String, String> userJVMOptions = ujo.getUserJVMOptions();
for (Entry<String, String> pair : userJVMOptions.entrySet()) {
System.out.println(pair.getKey() + " = " + pair.getValue());
}
On Win64 I got this:
java.lang.UnsatisfiedLinkError: jdk.packager.services.userjvmoptions.LauncherUserJvmOptions._getUserJvmOptionKeys()[Ljava/lang/String;
at jdk.packager.services.userjvmoptions.LauncherUserJvmOptions._getUserJvmOptionKeys(Native Method)
at jdk.packager.services.userjvmoptions.LauncherUserJvmOptions.getUserJVMOptions(LauncherUserJvmOptions.java:122)
at com.oracle.appbundlers.tests.functionality.UserFriendlyJvmOptionsTest.getAdditionalParams(UserFriendlyJvmOptionsTest.java:55)
at com.oracle.appbundlers.tests.functionality.TestBase.getAllParams(TestBase.java:101)
at com.oracle.appbundlers.tests.functionality.TestBase.cleanUp(TestBase.java:253)
at com.oracle.appbundlers.tests.functionality.TestBase.runTest(TestBase.java:208)