Install jre mac2/15/2024 ![]() I'm assuming that's where it is for you, but to not assume you can type in the following to see where your current java home is set to: /usr/libexec/java_home -v 1.15Īnd that's where it should show all your Java JDKs installed and you get get rid of the Java 15. If that doesn't work you can go here to delete the Java 15 via Finder, Go, Go to Folder, and put in: To see if it now shows the 1.8 build 271 as the default. You should be able to do this: export JAVA_HOME=$(/usr/libexec/java_home -v 1.8) It's possible that even though your LibreOffice is selected to use Java 8, it's still not doing things properly and I suggest changing your macOS's Java itself to be 1.8 also by changing the Java Home environmental variable. So you have multiple Java's installed and your macOS default (as shown via terminal) is Java 15 which is definitely not recommended. It's also what Oracle recommends too for most people, the latest build is 271. I linked you to the 1.8 version which is what I recommend. You have to make a free Oracle account to download the JDK. LibreOffice says the JDK is required for macOS 10.10 and later ( ) so that definitely settles it! The JRE version is **** and often won't update your system variables properly (like the Java Home folder).įor example, as an additional test you can type in: echo $JAVA_HOMEĭoes it list a particularly folder? Such as:Īnyway, all this aside, simply install the Java JDK. I strongly recommend that you actually take the step of installing the Java JDK. Bring up a Terminal window (using Spotlight or going to Applications, Utilities folder, Terminal) and type in: java -versionĭoes it come up with a response? For example, I use Java 1.8 build 191 and get the following:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |