A nice reader asked about the spec file for update 17 of the Sun Java virtual machine. I already had updated the spec file, which you can find here and then follow my previous post.
Right now, I am using Chromium (open source version of Google Chrome) and I will fix the Java plugin for that.
I Promise!
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported.
I’ve tried to use your spec file to build rpm for Java 6 Update 19 on Fedora 12 x86 but I get the following error:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/fabio/rpmbuild/BUILDROOT/java-1.6.0-sun-1.6.0.19-1.0.lb.x86_64
error: Installed (but unpackaged) file(s) found:
/usr/lib/jvm/java-1.6.0-sun-1.6.0.19/jre/lib/security/trusted.libraries
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib/jvm/java-1.6.0-sun-1.6.0.19/jre/lib/security/trusted.libraries
Any suggestion ?
Thanx
Hi,
I am checking on this – will post an update asap.
Hi Luca,
even on fedora 13 I’d the same error:
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib/jvm/java-1.6.0-sun-1.6.0.19/jre/lib/security/trusted.libraries
I’ve solved the problem by adding the following in the spec file:
%{_jvmdir}/%{sdkdir}/jre/lib/security/trusted.libraries
I’ve added this option in the “%files devel” section of the spec file.