cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
offbyone
Level 3

Bug adding vm paramater w/ $USER_INSTALL_DIR$ to MAC installer

I have the following vm parameter set up on a LaunchAnywhere properties:
Property:
lax.nl.java.option.additional
Value:
-Djavax.net.ssl.trustStore="$USER_INSTALL_DIR$/conf/client/ssl/mykeystore.jks"

I produced a windows and installer and a mac installer from the same project. It works perfectly fine on windows.

However when I try to run my software on the Mac it says is can't find valid ssl trusted cert. I tested it without the virtual machine property and it worked fine. I also manually went to the install directory and hand typed the java command with the vm paramater and it ran fine. It seems to me that it isn't translating the $USER_INSTALL_DIR$ property.

Any help please?
Labels (1)
0 Kudos
(1) Reply
offbyone
Level 3

After further research it is clear the bug isn't how installanywhere resolves USER_INSTALL_DIR but rather that it doesn't properly resolve vm parameters you set using "lax.nl.java.option.additional" on MAC.
0 Kudos