From: Giovanni on
"Ed Yu" <ekyu88(a)hotmail.com> wrote in message <gqbbqt$t50$1(a)fred.mathworks.com>...
> This probably has to do with JA builder's default references 32bit instead of 64bit. You'll have to read more about JA builder or contact mathworks tech support.

Hi,
I am having the same problem here. I am using a 64-bit JRE and a 64-bit Matlab R2009b with 64bit Windows 7 Home Premium.
I have tried to deploy the example application and get the same error. I read that I can install a different version of MCR, in my case I'd like to install the 32 bit one, but I can't find the installer anywhere (in my install folder there is the 64bit version that I already have).
Can anyone help?
From: Giovanni on
"Giovanni " <amojobim(a)gmail.com> wrote in message <hnqlfh$52c$1(a)fred.mathworks.com>...
> "Ed Yu" <ekyu88(a)hotmail.com> wrote in message <gqbbqt$t50$1(a)fred.mathworks.com>...
> > This probably has to do with JA builder's default references 32bit instead of 64bit. You'll have to read more about JA builder or contact mathworks tech support.
>
> Hi,
> I am having the same problem here. I am using a 64-bit JRE and a 64-bit Matlab R2009b with 64bit Windows 7 Home Premium.
> I have tried to deploy the example application and get the same error. I read that I can install a different version of MCR, in my case I'd like to install the 32 bit one, but I can't find the installer anywhere (in my install folder there is the 64bit version that I already have).
> Can anyone help?

Found a 32 bit version of MCRInstaller but this is still not working: now I get the message "This component was created using a version of MATLAB Builder JA that is not compatible with the version of MCR that it is running against". Which makes sense. Does this mean the 64 bit is somehow broken?
From: Giovanni on
SOLVED!

I was using the wrong version of JRE, i.e. I have both the 32 and 64 bit installed and I was using the 32 one. Switching to the 64 one fixed the issue.