I’m running LibreOffice 4.1.2.3 on Mac OSX 10.9. I have java version “1.7.0_45” (the most recent as of Oct. 26 2013) from Oracle installed. Java is working fine (i.e., I can compile and run Java apps). In LO, if I select Preferences → Advanced and click on “Add…” to select a JRE, all selections result in the error message “The folder you selected does not contain a Java runtime environment. Please select a different folder.”
For example, I’ve tried
/System/Library/Frameworks/JavaVM.framework/
/System/Library/Frameworks/JavaVM.framework/JavaVM/
/System/Library/Frameworks/JavaVM.framework/Versions/Current/
/System/Library/Frameworks/JavaVM.framework/Versions/Current/JavaVM/
/System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/
and so on. All result in the same error message.
Any tips on what LO is asking for and where to find it?