bbcork
Posts: 12
Joined: Fri Dec 05, 2008 1:34 am

Upgrade to 6.9; then 6.9.1- Still issue with JVM parameters

Upgraded to 6.9
rebuild installer with JVM parameter
eg: -Dapp.install="[APPDIR]"

When application launches, it fails to load DLL as the system property is not working correctly
Eg
String libPath = System.getProperty("app.install")+"\\Trial.dll";
System.load(libPath);

instead of the full path to the install directory.....it gives [APPDIR]\Trial.dll
should be path like...c:\Program Files\App Folder\.....etc...

so the DLL fails to load

Upgraded to 6.9.1
same issue

no reverting back to 6.8 - it use to work fine with this load.
bbcork
Posts: 12
Joined: Fri Dec 05, 2008 1:34 am

Re: Upgrade to 6.9; then 6.9.1- Still issue with JVM parameters

Roll back to 6.8 worked :D

6.9 & 6.9.1 not good for JVM parameters - they are not been resolved correctly. :cry:
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Upgrade to 6.9; then 6.9.1- Still issue with JVM parameters

Hi,

Unfortunately we unable to reproduce this behavior on our test machines. Can you please send us the AIP with the problem to support at advancedinstaller dot com so we can investigate it? Also, please attach the INI installed next to the Java Launcher.

Please note that the APPDIR property is automatically ended with a "\" character. The correct code would be:

Code: Select all

String libPath = System.getProperty("app.install")+"Trial.dll";
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bbcork
Posts: 12
Joined: Fri Dec 05, 2008 1:34 am

Re: Upgrade to 6.9; then 6.9.1- Still issue with JVM parameters

Eventually - went back to this issue - figured it out...."Hide Settings" was checked on the Java Products :: Settings panel
The APPDIR was not been resolved at install time
Still think something changed in AI post 6.8, as simply loading a aip file in 6.8 worked, and was broke in 6.9
Is the "Hide Settings" set by defualt on 6.9 or was it introduce then - eitherway didn't check this out as it works now.
thanks

Return to “Common Problems”