On the page http://jscpreview.sfbay/javase/6/webnotes/install/jdk/install-linux.html, under section "Installation of RPM File" and sub-section "5. Exit the root shell", the example "SwingSet2.jar" should be "./SwingSet2.jar". This will conform with all the other commands which have "./" prepended.