I am evaluating Advanced Installer to package my application, and have found it to be very easy to use, and a great tool, but there is one issue that is holding me back from purchasing. Its probably a mistake on my part but heres the problem.
When I bundle the JRE, Java 6.0 with the application, SSL stops working in my application. Based upon the exception, its seems pretty clear to me that the JVM is not picking up the SunJCE provider in the lib/ext directory. I've tried various forms of Java Library, Classpath parameters, to fix the problem and nothing seems to help. Considering the SunJCE implementation is part of the JRE, that I point advanced installer at anyway I don't actually feel like I should have to change anything.
I also want to point out that I created an installer for my application using AI without a Bundled JRE, and installed it on the same test system, pre-installing Java 6.0 first, and everything worked fine. So this problem only occurs when I bundle the JRE with my application
Here is my setup
Java 6.0u1
Windows XP - Service Pack 2
AI 5.0
Heres the abbrv. exception my application throws running with the bundled JRE
Caused by: java.security.NoSuchAlgorithmException: SunTlsRsaPremasterSecret KeyGenerator not available
at javax.crypto.KeyGenerator.<init>(DashoA13*..)
at javax.crypto.KeyGenerator.getInstance(DashoA13*..)
at com.sun.net.ssl.internal.ssl.JsseJce.getKeyGenerator(Unknown Source)
Everything else in AI has worked great, so I really hope you have some suggestions to get past this problem.
Thanks,
Lorin
FOLLOW US
Get the latest news in Application Packaging