FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
Linux myserver 2.6.32.12-0.7-pae #1 SMP 2010-05-20 11:14:20 +0200 i686 i686 i386 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
myserver:/srv/repo # rpm -ihv jdk-8u40-linux-i586.rpm
error: Failed dependencies:
/usr/sbin/alternatives is needed by jdk1.8.0_40-1.8.0_40-fcs.i586
On SLES exists /usr/sbin/update-alternatives, and not /usr/sbin/alternatives
I've checked system requirements here: http://www.oracle.com/technetwork/java/javase/certconfig-2095354.html
REGRESSION. Last worked in version 8u31
ADDITIONAL REGRESSION INFORMATION:
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) Server VM (build 25.31-b07, mixed mode)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
rpm -ihv jdk-8u40-linux-i586.rpm
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
JDK installed
myserver:/srv/repo # rpm -ihv jdk-8u31-linux-i586.rpm
Preparing... ########################################### [100%]
1:jdk1.8.0_31 ########################################### [100%]
Unpacking JAR files...
rt.jar...
jsse.jar...
charsets.jar...
tools.jar...
localedata.jar...
jfxrt.jar...
plugin.jar...
javaws.jar...
deploy.jar...
ACTUAL -
error: Failed dependencies:
/usr/sbin/alternatives is needed by jdk1.8.0_40-1.8.0_40-fcs.i586
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
reinstall jdk-8u31-linux-i586.rpm