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!

yishai
Posts: 54
Joined: Wed Nov 23, 2005 11:54 pm

Bundled JRE

I install a package with a bundled JRE. However, my system has multiple JRE’s form all kind of versions.

When I start my app from the .e.e created by AA, it doesn’t run will. Problem with images loading etc.

When I start my app from an exe I created with exe4j it runs.

The difference between them is that exe4j looks for the JRE in the placed I installed it, while AA, I think, looks for it on the class oath, including the bundled one, and I suspect might end up using a different one.

Will AA try the bundled JRE first? Is there a way to force the app to use my bundled JRE?

-Yishai
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Yishai,

I cannot reproduce this behavior on my test computer. When bundled JRE is used the path to the JRE is stored in the INI file and AI will load it from there. Maybe you don't use the proper version of the JRE (required by your java application) as bundled.

Also please try to reproduce this behavior on another computer.

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

Return to “Common Problems”