Erro in Installing OPENOFFICE SOFTWARE

Dear All
I want to install openoffice on my redhat 5.1 linux os. open office folder is already extracted on Desktop.

#cd Desktop/OOO310_m11_native_packed-2_en-US.9399
#./setup

After run the setup command, i am getting the Error mentioned below.Please any body can help me.
ERROR:-

find: RPMS: No such file or directory
basename: missing operand
Try `basename --help' for more information.
/dev/pts/1
Error: Java Runtime Environment (JRE) not found in directory: RPMS (exit code 4)

Thanks in Advance

You don't have a Java Runtime installed in the location. Also, can you not find a RPM for open office for the version you are trying to install? Have you read the README file that came with it for explicit instructions?

What is the file that this came from and are you installing this as the root user?