anders
Posts: 4
Joined: Wed Sep 08, 2010 8:20 pm

64 bit JRE bundle

I try to create a build with a 64 bit JRE bundle. According to the documentation "A 64-bit JRE Bundle can be specified for 64-bit packages. The "Package Type" can be specified in the Install Parameters page".

My package type is specified as a 64 bit package, but still, when I try to specify the source folder of the JRE to bundle, I receive an error message:
Invalid JRE Platform. Please specify a valid JRE folder.
It seems that Advanced Installer is not able to recognize a 64 bit JRE, whereas it easily recognizes a 32 bit JRE.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: 64 bit JRE bundle

Hello,

I have tested adding a JRE Bundle both for a 64-bit and 32-bit folder. The message you are mentioning is shown only when the folder doesn't match with the project settings (64-bit or 32-bit).
Please make sure the folder you are adding the bundle from is a 64-bit one.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anders
Posts: 4
Joined: Wed Sep 08, 2010 8:20 pm

Re: 64 bit JRE bundle

Actually my project is defined as a 64 bit project (assuming that you refer to the "Install parameters" page. Also the "Java products" setting is "64 bit". The JRE, I try to bundle is also in the 64 bit Program Files folder on my computer. Nevertheless, I get the error message.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: 64 bit JRE bundle

Hello,

Can you please send us your Advanced Installer project to support at advancedinstaller dot com so we can investigate it?

Thank you,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anders
Posts: 4
Joined: Wed Sep 08, 2010 8:20 pm

Re: 64 bit JRE bundle

Yes, I will do that unless the following information settles the issue:

What I have done is to create an additional build so that the same project can generate two installer packages (one with Java bundled and one without). I called the new build for "BuildWithJRE" and I intended to bundle a 64 bit JRE with that. It was/is not possible.

Then, by accident, I tried to bundle a 64 bit JRE with "DefaultBuild", and it worked! It turns out that the dialog for "Bundled JRE" has an additional setting for "Platform" where I can choose between 32 and 64 bit:

Image

The problem is, however, that the "same" dialog for the other build, "BuildWithJRE" doesn't have that switch:

Image

The good question now is whether this difference in design is intended?
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: 64 bit JRE bundle

Hi,

By default the new build is 32-bit. Try this:
- go to "Install Parameters" page
- use the "Build" combo on the toolbar to select "BuildWithJRE"
- change the package type to 64-bit
- you can now select the JRE bundle platform

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
anders
Posts: 4
Joined: Wed Sep 08, 2010 8:20 pm

Re: 64 bit JRE bundle

Thank you vwery much!

I was not aware that the install parameters were Build specific!

Return to “Common Problems”