What is wrong with what you tried is that
chmod command is not in the directory named
/home/lhuser/Desktop. chmod is a built-in command.
Let the file become executable
Code:
chmod +x /pathToDirectory/jre-1_5_0_06-linux-i586-rpm.bin
Code:
/pathToDirectory/jre-1_5_0_06-linux-i586-rpm.bin
A license will be shown, type
q and after type
yes.
The archive will be extracted to create a rpm. Type :
Code:
rpm -ivh /pathToDirectory/jre-1_5_0_06-linux-i586-rpm
Of course replace pathToDirectory by the directory where you downloaded the file.