It doesn\’t happen often, but from time to time you may download a file of the type *.rpm.sh. For example, the Java Software Development Kit comes in a file called j2sdk-1-3-0-linux-rpm.sh. If you try to install it using the regular rpm command sequence it will fail miserably. Why? Because this is a self-extracting shell script that contains a RPM. This is the way to install it:

sh j2sdk-1-3-0-linux-rpm.sh