This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Bug adding vm paramater w/ $USER_INSTALL_DIR$ to MAC installer
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 17, 2009
08:24 PM
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?
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?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 19, 2009
08:46 PM
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.