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
~/rpmbuildis properly setup - run
./build.sh - publish
~/rpmbuild/RPMS/*/*.rpmin your yum repository