Failed to bootstrap path
I get the following error in system.log when I try to launch a java application, both via the .app as well as the the executable directly.
com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.pid.java.84147): Failed to bootstrap path: path = /xxx/.jenv/versions/openjdk64-1.8.0.265/bin/java, error = 2: No such file or directory
That path and file definitely exist, and the java works. I can run other java applications using that java without problem.
I've searched for the "Failed to bootstrap path" error, and there are a handful of threads I have found, but not exactly related, and none of the given advice seems to work for me.
This is a custom in-house java application which has run fine on this computer before.
And ideas?
Thanks,
Linus
MacBook Pro 13″, macOS 10.15