i got frost wire working now.
i noticed there was no /usr/java folder so i made it using
mkdir /usr/java
then i downloaded the .bin file from java.com and moved it to /usr/java using:
mv /home/<my username>/Desktop/jre-6u3-linux-i586.bin /usr/java/jre-6u3-linux-i586.bin
made it executable using:
chmod a+x jre-6u3-linux-i586.bin
installed it using:
./jre-6u3-linux-i586.bin
ran frostwire and started getting the same messages, but then it turned on and is working
java's guide:
http://www.java.com/en/download/help/5000010500.xml#enabledownloaded the non-"RPM":
http://www.java.com/en/download/linux_manual.jsp?locale=en&host=www.java.com