Java version is compatible with LibreOffice 3.6 Base?

Which Java version is compatible with LibreOffice 3.6 NBase? I have installed the latest one (1.7.0_09) but still can’t create tables. As soon as I try to create a table, it says the JRE is corrupt. Have removed and reinstalled everything twice.

Windows XP SP3; MS DotNet Framework 3.5 & 4.

Already discussed. See Libreoffice says that my Java runtime environment is defective. I have the latest edition and Extension Installation Could not create Java Implementation Loader