An older version ? Then jre-7u5 may not work.
Please use jre-6u31-linux-i586.bin ( If it's a 32bits OS )
http://www.oracle.com/technetwork/ja...d-1501637.html
Install example ...
1) cd Downloads/ ( Or wherever the downloaded jre is kept )
2) chmod +x jre-6u31-linux-i586.bin
3) cd /usr/
4) sudo <path-to-Downloads>/jre-6u31-linux-i586.bin
.. ( My example : sudo /home/knudfl/Downloads/jre-6u31-linux-i586.bin )
5) cd /usr/bin/ && sudo ln -s /usr/jre1.6.0_31/bin/java
... Now you have 'java' in your PATH, and the application can use it.
.