Installing IBM ILOG JViews with Oracle/Sun JDK on Linux
If you are using the IBM JDK, the following problem does not occur: On some Linux systems, the installation of IBM ILOG JViews fails with Oracle/Sun JDK. At the end of the installation, you see a message saying that the installation was not successful: "The installation ... is finished, but some errors occured ... ". Why does this occur?
In the install log, you will find messages like this:
Install File: jvie
To speed up the installation, the installer opens many files at the same time. Some Linux systems have a low limit on the number of open files. While the IBM JDK correctly reports when this limit is exceeded, the Oracle/Sun JDK fails to inform the installer, hence the installer tries to open too many files. Therefore, some files are not correctly written by the installer. So far, the problem occurs only on Linux, not on Microsoft Windows systems.
To install IBM ILOG JViews on Linux, don't use the Oracle/Sun JDK but use the IBM JDK instead. The issue does not occur withe the IBM JDK. You can dowload it from http
If you only have the Oracle/Sun JDK available, you must increase the file limit. The following description is for Ubuntu Linux:
1) Test the current limits. Start the /bin/sh and use the ulimit command to see the current limits. The lines with
This is the problem. The hard limit on the number of open files is 1024, and the user cannot change it.
The following instruction requires superuser access and requires the user to log out and log in again:
2) Enter superuser mode (in Ubuntu, sudo -i, in other Linux variants maybe login root):
% sudo -i
% vi /etc
If it contains no settings, add the following 4 lines:
* hard nproc 16384
% vi /etc
If the following line is missing (usually, it is there), then add it:
session required pam_limits.so
3) The new settings will only become active when a new user logs in. Hence, log out and log in again (or reboot the machine and log in again). As normal user, start sh again:
Good! Now we are ready to install IBM ILOG JViews with the Oracle/Sun JDK. This should now work without problems!