Download JRE from sun's web site and install it should be fine.
Normally, you do not need to set the file options (the part to set java program to open jar file).
It will be done by the installation process.