This is Andy at Evergreen.
I tested the single binary function on Solaris with JRE8 b81, but it cannot work after installed JRE.
In Solaris installer, there is a “javasettings” program which performs the single binary functions.
When we running the SVR4 installer on Solaris, the installer will run this program.
But this program cannot be run correctly in current Solaris installer.
Steps:
1. Get the SVR4 package of JRE. We can get it by uncompress the jdk-8-ea-solaris-i586.tar.Z bundle of JRE8 b81. There should be a SUNWj8rt folder.
2. Check the files in SUNWj8rt/install folder.
Problem1:
I found that the following scripts do not have execute permission.
postinstall
postremove
preremove
When running the installer, the postinstall script need to be run, and the javasettings program will be run in postinstall script.
But the postinstall script does not have execute permission, so it cannot be execute when installing.
3. Check the content of postinstall script.
Problem2:
There is an error in this script.
Line31: PWD="dirname '$0'"
This line is not right, it should be
PWD=`dirname “$0”`
Because of this problem, the following command at line 52 cannot be run.
# Execute the single binary executable
${PWD}/javasettings
So the javasettings program cannot be run correctly on Solaris.
I tested the single binary function on Solaris with JRE8 b81, but it cannot work after installed JRE.
In Solaris installer, there is a “javasettings” program which performs the single binary functions.
When we running the SVR4 installer on Solaris, the installer will run this program.
But this program cannot be run correctly in current Solaris installer.
Steps:
1. Get the SVR4 package of JRE. We can get it by uncompress the jdk-8-ea-solaris-i586.tar.Z bundle of JRE8 b81. There should be a SUNWj8rt folder.
2. Check the files in SUNWj8rt/install folder.
Problem1:
I found that the following scripts do not have execute permission.
postinstall
postremove
preremove
When running the installer, the postinstall script need to be run, and the javasettings program will be run in postinstall script.
But the postinstall script does not have execute permission, so it cannot be execute when installing.
3. Check the content of postinstall script.
Problem2:
There is an error in this script.
Line31: PWD="dirname '$0'"
This line is not right, it should be
PWD=`dirname “$0”`
Because of this problem, the following command at line 52 cannot be run.
# Execute the single binary executable
${PWD}/javasettings
So the javasettings program cannot be run correctly on Solaris.
- clones
-
JDK-8010958 Single Binary function does not work when running RPM installer on Linux.
-
- Closed
-