This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Bundled JRE Failure on Linux
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 14, 2006
12:14 PM
Bundled JRE Failure on Linux
This issue is really becoming pressing.
I am building an installation on Windows XP. I have instructed ISMP to create a Linux build as well. I copy the .bin file to my Linux machine and I have to run dos2unix on the file for it to execute.
I am including a Bundled JRE in my Linux build. After I chmod 0755 the installer the file will execute. I receive the Initializing Wizard … Searching for JRE .. Verifying JRE ….. Unpacking JRE …. Then an error that states:
Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing JRE failed.
I have made both a custom JRE bundle and tried to use the one that ISMP provided. I tested them BOTH on the Linux platform and they both unpack fine in whatever folder I execute them in.
I have read every post on bundled JRE’s and have seen other people with the same issue, however their resolutions don’t seem to uniform. Some mention full tmp folders and others how they move files. Both of which I have ruled out as issues.
If I run java –cp install.bin run on the file, it will work as long as the java I am using is not the fresh install from Fedora 5. If it is I must install the JRE by hand and ensure I use the java from the bin of the JRE I installed. So it would look something like
/usr/java/jdk123/bin/java –cp install.bin run
ISMP should be able to unpack a JRE with no issue. IS there something I am missing?
Looking forward to the communities input.
Ben
I am building an installation on Windows XP. I have instructed ISMP to create a Linux build as well. I copy the .bin file to my Linux machine and I have to run dos2unix on the file for it to execute.
I am including a Bundled JRE in my Linux build. After I chmod 0755 the installer the file will execute. I receive the Initializing Wizard … Searching for JRE .. Verifying JRE ….. Unpacking JRE …. Then an error that states:
Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing JRE failed.
I have made both a custom JRE bundle and tried to use the one that ISMP provided. I tested them BOTH on the Linux platform and they both unpack fine in whatever folder I execute them in.
I have read every post on bundled JRE’s and have seen other people with the same issue, however their resolutions don’t seem to uniform. Some mention full tmp folders and others how they move files. Both of which I have ruled out as issues.
If I run java –cp install.bin run on the file, it will work as long as the java I am using is not the fresh install from Fedora 5. If it is I must install the JRE by hand and ensure I use the java from the bin of the JRE I installed. So it would look something like
/usr/java/jdk123/bin/java –cp install.bin run
ISMP should be able to unpack a JRE with no issue. IS there something I am missing?
Looking forward to the communities input.
Ben
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 15, 2006
02:42 AM
I am creating a linux distribution on a windows machine, and the only thing that needs to be done is "chmod +x" to the bin file.
I tried running dos2unix, and only then I reproduced your problem...
I tried running dos2unix, and only then I reproduced your problem...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 15, 2006
11:42 AM
Speaking with Macrovision I found out I need a hotfix for ISMP 11.5 sp1. It solved the need to convert the file. I will post the final fix once I confirm I have resolution to the issue.
Thanks,
Ben
Thanks,
Ben
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 15, 2006
01:15 PM
Okay I dont know what to say about the product, however Macrovision’s customer support is probably the best I have ever been through. The trouble is was 2 fold:
1) Certain version of ISMP 11.5 sp1 need a hotfix to correct an issues when the build makes a linux.bin carriage returns are getting into the bin file when created on a Windows box then moved to Linux. You can only get these hotfixes by calling and speaking with support. The symptoms are as follows:
a. When you try to execute the file on Linux it says “No such file”
b. After you chmod 0755 the file it says “Can not execute the file”
c. If you run dos2unix on the file it executes you receive an error like Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing JRE failed.
2) In the search the file sunjdk14.jvm under JVMs/linux, there is no vendor listed under the path hint. To correct this, we added java.vendor=Sun… This was causing the launcher to incorrectly verify a java install on Fedora Core 5 which was missing the JRE libs.
Thanks,
Ben
1) Certain version of ISMP 11.5 sp1 need a hotfix to correct an issues when the build makes a linux.bin carriage returns are getting into the bin file when created on a Windows box then moved to Linux. You can only get these hotfixes by calling and speaking with support. The symptoms are as follows:
a. When you try to execute the file on Linux it says “No such file”
b. After you chmod 0755 the file it says “Can not execute the file”
c. If you run dos2unix on the file it executes you receive an error like Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing JRE failed.
2) In the search the file sunjdk14.jvm under JVMs/linux, there is no vendor listed under the path hint. To correct this, we added java.vendor=Sun… This was causing the launcher to incorrectly verify a java install on Fedora Core 5 which was missing the JRE libs.
Thanks,
Ben
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 17, 2006
07:10 AM
I got the same error on an AIX platform with an installer built on SunOS:
"Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing JRE failed."
The issue was the file was copied to the AIX platform with some windows utility that basically ftp's the file in ASCII mode!!! Ftp'ing the file in Binary fixed the problem!
Regards,
Tom
"Bundled JRE is not binary compatible with host OS/Arch or it is corrupt. Testing JRE failed."
The issue was the file was copied to the AIX platform with some windows utility that basically ftp's the file in ASCII mode!!! Ftp'ing the file in Binary fixed the problem!
Regards,
Tom
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Aug 23, 2006
07:46 AM
could someone send me this hotfix or give me a link to it? macrovision doesn't answer the phone 😞
thank you!!
thank you!!