Description of problem: The new (in 5.9) java-1.7.0-openjdk package installs a jre whose bin/security/cacerts is no longer a file but a link to /etc/pki/java/cacerts, which does not exist. Version-Release number of selected component (if applicable): java-1.7.0-openjdk-1.7.0.9-2.3.4.el5_9.1 Additional info: Under 6.3 the same link is present in the bin/security directory, but the destination file is present courtesy of the ca-certificates package. Unfortunately that package is not available in 5.9.
For bin/security, read lib/security throughout. Sorry, long day...
yap, this is redundant in spec file, should be removed: # Install cacerts symlink. rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/cacerts pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security RELATIVE=$(%{abs2rel} %{_sysconfdir}/pki/java \ %{_jvmdir}/%{jredir}/lib/security) ln -sf $RELATIVE/cacerts . popd
*** Bug 850656 has been marked as a duplicate of this bug. ***