OpenBravo ERP can't identify JDK compiler

I am installing OpenBravo ERP on Centos 5.4 x64 and I am getting to the point in the installer when it asks me to provide the location of the JDK, which I do, but it claims there is no java compiler there. I can see the JDK files in the directory, but it can't seem to find it.