Script and rpm spec file to build smart "custom" rpms, to allow automatic upgrades across environment.
According to Oracle's License it is illegal to redistribute RPMs made from this. Though you should be able to redistribute within your organization.
- Download necessary JDK and/or JRE tar.gz files from http://www.oracle.com/technetwork/java/javase/downloads/index.html
- Place files in
./original
- Ensure
~/rpmbuild
is properly setup - run
./build.sh
- publish
~/rpmbuild/RPMS/*/*.rpm
in your yum repository