Introduction
This article will helps you to resolve " JRE libraries are missing or not compatible" issue when running the Installer.
vanathi@vanathi-VirtualM1:~/InstallAnywhere 2022 Projects/My_Product_5/My_Product_5_Build_Output/Default_Configuration/Web_Installers/InstData/Linux/VM$ ./install.bin -i console
./install.bin: 107: [: /home/vanathi/InstallAnywhere: unexpected operator
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
JRE libraries are missing or not compatible....
Exiting....
Scenario 1
If you do not have enough space in your default temporary directory, Installer will fail with "JRE libraries are missing or not compatible" as it does not have space to extract the zipped up resources.
Please make more space available, or choose another temporary directory by exiting the installer.
Scenario 2
When the /tmp was set to noexec, Installer will fail with "JRE libraries are missing or not compatible".
The noexec mount option specifies that the filesystem cannot contain executable binaries. the noexec option will be set only when users cannot run executable binaries from /tmp.
Troubleshooting Steps
For Scenario 1
You can specify a different directory other than /tmp. The instructions are to set the IATEMPDIR environment variable to a directory on a disk partition with enough free disk space.
For example:
$ export IATEMPDIR=/var/tmp or export IATEMPDIR=/home/user/Desktop/tmp
$ ./install.bin -i console
OR
Increase the /tmp space by using the following command:
$mount -o remount,size=5G /tmp/
$ ./install.bin -i console
For Scenario 2
Run Terminal and use one of the following commands to make sure that /tmp was set to noexec:
vanathi@vanathi-VirtualM1:~/Desktop$ findmnt -l|grep noexec
/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime
/proc proc proc rw,nosuid,nodev,noexec,relatime
/dev udev devtmpfs rw,nosuid,noexec,relatime,size=940308k,nr_inodes=235077,mode=755,inode64
/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
/sys/kernel/config configfs configfs rw,nosuid,nodev,noexec,relatime
/tmp tmpfs tmpfs rw,noexec,noatime,size=978584k,nr_inodes=244646,inode64
/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime
OR
nathi@vanathi-VirtualM1:~/Desktop$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
tmpfs /tmp tmpfs defaults,rw,noatime,noexec,mode=1777 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
To remove the noexec from /tmp,
- Edit /etc/fstab
- Remove noexec from line containing /tmp mount vi /etc/fstab
- Reboot
nathi@vanathi-VirtualM1:~/Desktop$ vi /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#tmpfs /tmp tmpfs defaults,rw,noatime,noexec,mode=1777 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
nathi@vanathi-VirtualM1:~/Desktop$ reboot.
Outcome:
vanathi@vanathi-VirtualM1:~/InstallAnywhere 2022 Projects/My_Product_5/My_Product_5_Build_Output/Default_Configuration/Web_Installers/InstData/Linux/VM$ ./install.bin -i console
Preparing to install
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
===============================================================================
My_Product_5 (created with InstallAnywhere)
-------------------------------------------------------------------------------
Preparing CONSOLE Mode Installation...
===============================================================================
Installing...
-------------Related Articles
JRE libraries are missing or not compatible error during FlexNet Code Insight installation 6Number of Views Missing SKU 90Number of Views Flexera’s content libraries 27Number of Views AD Discovery for users appears to be functioning correctly, but users are missing in Snow License Manager 40Number of Views The "Check For Updates" button is missing in Admin Studio recently. 24Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago