Apple Intelligence is now available on iPhone, iPad, and Mac!

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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

Posted on Dec 15, 2022 3:38 PM

Reply

Similar questions

3 replies

Dec 19, 2022 12:21 PM in response to linus42

Hey linus42,


Another step you can also take while contacting Oracle Support, you could also try making sure your Mac is up-to-date:

"Use Software Update

Before installing new software, it's a good idea to back up your Mac.

  1. From the Apple menu  in the corner of your screen:
    • Choose System Settings. Then click General in the sidebar, and Software Update on the right.
    • Or choose System Preferences. Then click Software Update.

2. If Software Update finds new software, click the Update Now or Upgrade Now button to install it.

3. Enter your administrator password, if asked. During installation, your Mac might restart, and you might see a progress bar or blank screen several times.


If Software Update says that your Mac is up to date, then no new software is currently available for your Mac model. Software Update shows only updates and upgrades that are compatible with your Mac."


Those steps are from this article: Update macOS on Mac - Apple Support This may seem like a simple step, but it can sometimes help resolve unexpected issues.


You could also try is seeing if this Java app will run in a test user, as a new user doesn't have custom or changed settings, and can help determine possible next steps by isolating this further. If needed, this article shows how: Set up users, guests, and groups on Mac - Apple Support


Let us know how those steps go or if you've already tried those steps.


Take care!


Dec 19, 2022 8:28 AM in response to Lissy_12

Hi Lissy,


Thank you for your response, and I will contact Oracle Support.


But every other thread I have seen regarding this error message has not had anything to do with Java. They have been regarding OSX upgrades, OSX network stack, other non-Java applications, etc. So it would appear to be an OSX issue.


thanks,

Linus

Failed to bootstrap path

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.