Bundled JRE and SSL - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

lmetzger
Posts: 1
Joined: Mon Jun 18, 2007 4:46 pm

Bundled JRE and SSL

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
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Lorin,

We cannot reproduce this behavior. In order to determine the problem please send a small test project (AIP + jar) that reproduces this issue to support at advancedinstaller dot com.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”