Interestingly, my 1.7 JDK didn't show up as an option. I also did another test: I tried switching the Java in the Advanced settings where it listed also a newer "run-time version" I have to (occasionally for one particular) use, and got the same error you're getting trying to create a 2nd table: Again, running my normal 1.8 JDK.Īlso one more thing: I only ever use the Java JDK as that includes all the portions of the Java JRE and again, LibreOffice's website says the JDK is the version to use. You can choose Finder > Go menu > Go to Folder, and paste in the following path: ~/Library/Application Support/LibreOfficeįYI, as a test I installed LibreOffice, opened the Database portion, and had no problem creating a new table and successfully adding some test data to that new table. To do this you'll want to delete two things, the LibreOffice.app in Applications folder, and the contents of the LibreOffice support folder itself. Personally, now that things are in a good position (in my opinion) in terms of macOS + Java I would remove LibreOffice and reinstall it and see if its reinstall can straightened everything out. I think the issue is confined to the Libre Office. Now that your Java in terms of macOS seems to be straightened out. For example, here's a screenshot that shows what Javas I have and where you can delete the 15 (presumably): 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 |