Java certificates - 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!

jarome
Posts: 7
Joined: Mon Nov 07, 2005 10:38 pm

Java certificates

I am confused as to whether the end user really must install a JRE to run a Java App packed with your installer. Does the Native Java Launcher obviate the need for an installed JRE?

Is there a way to include a particular JRE (in the msi file) along with its jre/lib/securitycacerts file with the Java Advanced Installer?

If not, is there a way to use an included cacerts file when our application is run?
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

Yes, the Native Java Launcher still needs an installed JRE on the target machine.

You can include a certain JRE (present on your machine) in the MSI file, to be installed along with your application. This will include all the files and folders present in the JRE folder.

For this go to "Media" page and specify a JRE in the "JRE Folder" field. You can explicitly browse for the JRE or you can select one from the drop-down list box of detected JREs on your machine.

Hope this helps.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com
jarome
Posts: 7
Joined: Mon Nov 07, 2005 10:38 pm

It worked

I figured it out when I discovered that you call it a "bundle".

But it raises my msi file from 2 MB to 28 MB. Is there a way to compress the jre in the file? I checked the boxes for compressed cabs, but there seem to be none made.
Mike
Posts: 292
Joined: Wed Jun 01, 2005 10:50 am
Location: Craiova, Romania
Contact: Website

Hi,

I'm afraid that there isn't any way to further reduce the size of your package.

This is the downside when using a bundled JRE. Advanced Installer compresses the files into CABs but the compression ratio can't be very high. This is because many of the files that make up the JRE are JAR files which are already compressed.

Regards,
Mihai
Mihai Bobaru
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”