what is your jdk version? can check with
$java -version
mine is 1.6.0_26
I had the same error as you when I install jdk-6u24-linux-x64.bin from oracle. After I switch to jdk-6u26-linux-x64.bin, the error is gone, not sure if it is the same case as you.