Skip to content

JCEF cannot be opened on macOS. #510

@shahulspss

Description

@shahulspss

From JCEF build version 95 onwards, I’m unable to open jcef_app on my Mac (macOS Sequoia 15.5 with Java 24.0.2). It shows the error: "Unable to load Java Runtime Environment" when I try to launch it.
I have added JAVA_HOME to my environment and pointed it to the location where Java is installed - but no luck.

export JAVA_HOME=/Users/shahulpt/JDK/jdk-24.0.2.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH

I also tried using Java versions 8, 11, 17 and 24.

Steps to reproduce the behaviour:

  1. Download macosx-arm64.tar.gz
  2. Extract it
  3. Open <extracted_location>/bin/jcef_app.app
  4. See error
Image

Expected behaviour
The jcef_app.app should open and render the webpage.

Versions:

  • OS: MacOS Sequoia 15.5
  • Java Version: OpenJDK 24
  • JCEF Version: ca49ada
  • CEF Version: 135.0.20+ge7de5c3+chromium-135.0.7049.85

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions