Getting started with Java CEF on Linux

This is a brief tutorial on how to get started with Java CEF on Linux. The primary repository for Java CEF is here:

Without delay, here are the steps to get Java CEF running on Linux64

Download the latest Linux 64 release from here:

Unzip the archive you downloaded

Make sure $JAVA_HOME is set in terminal.


Make sure $LD_LIBRARY_PATH is set in terminal.


If it is not set, set it.

export LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib

Now, we should be able to run the app.

In the directory of the unzipped archive cd to the java-cef-build-bin directory

Execute the sample app by using the following command ./

You should see an app like the one in the screenshot below

One reply on “Getting started with Java CEF on Linux”

Very nice!

Note you don’t need to set `JAVA_HOME` or `LD_LIBRARY_PATH`. The `` file is robust enough to handle all those, so all you need to do is `./`.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.