jre version for libreoffice 5.2.2

How do you provide jre java to 5.2.2? I have tried several version 7’s and some 64 bit-this is 64 bit machine. I cannot get it functioning in Base.

Thanks,
Rusty

Please read both answers on this post: click here. Please also follow the link to the post in the first answer.