I would like to use the export to ODT in 3.5.2, but java has been removed from the binary. I have java installed, but not in the place it’s expected it as it is telling to install from www.java.com. Where does Scrivener on MacOs look for java? I can add a symlink there. Thanks!
It should be checking at least to the standard /usr/bin/java location. I have the Temurin variant installed, which works with Scrivener, and if I call /usr/bin/java --version, I get details from it. That is also the “stub” location that will return an error if no Java distribution is installed.
Oh interesting. This is quite a rabbit hole I’ve jumped into. I have openjdk installed via homebrew, but it’s not registering the runtime in /Library/Java/JavaVirtualMachines, which is causing MacOS’s java tools in /usr/bin to claim there is no JDK installed. For a terminal session, I can set JAVA_HOME and everything is fine, but Scrivener doesn’t run in a terminal. I’m going to check out Temurin, as it’s built on openjdk. Thanks!
Yeah, you can brew install temurin to fetch the latest version of it, and it’s pretty low hassle. I don’t recall having to do anything special for Scrivener to see it, beyond restarting the software (macOS 15.x, not 26, but I don’t think anything will have changed between those two at this level).
Installing temurin did the trick. I’m off to races! Thanks!