How to help libreoffice 5.1.6.2 find the installed Java runtime? [closed]
Hi, I have a PC with windows 10. installed java JRE 8u121 (32 bit) then libreoffice 32 bit 5.1.6.2. Java 64 bit is not installed
I need java for using Base in libreoffice
Java is recognized in my system (other java app do work with the JRE).
When I open Tools - Options - Libreoffice - Advanced, there is no java runtime which may be selected from a list. Have waited a full night to let the system find it.
I tried to manually set up the directory of the JRE, going through all C:\Program Files (x86)\Java\jre1.8.0_121 subdirectories but got only error messages.
I tried also with an older version of libreoffice, without success. I also tried to check with JDK instead of JRE ;-(
From what I've read in this and other forums, it seems I'm not the only one to have this problem.
Maybe somebody has an idea what I could check.
Thanks in advance
What errors ? Or is it just along the lines of 'Java not found in folder' ?
When I try to add a JRE environnement in Tools - Options - Libreoffice - Advanced I put as path C:\Program Files\Java\jre1.8.0_121
the system responds with: (i hope you understand, basically, no JRE found, try another path) Le dossier que vous avez sélectionné ne contient pas d'environnement d'exécution Java. Veuillez sélectionner un dossier différent.
by the way, I tested now with both java 64 bits and libreoffice 5.1.6.2 with the same issue
to clarify, I test with negative result both java and libreoffice in 32 bit then in 64 bit. No success, same message.
I wonder if LO doesn't have the permissions it needs to open the jre file? Might be interesting to investigate what permissions are needed. I don't know if it's read, write, and/or execute that is required for a jar. But you might try giving the user running LO full permission for the jre (and also if needed it's subdirs). Another idea would be to locate your jre on your desktop and then hook that up and see if that makes any difference. If necessary I can explain more in detail.