How to integrate Chromium Embedded Framework (CEF) with java

前端 未结 3 1605
别那么骄傲
别那么骄傲 2020-11-30 01:45

I\'d like to make a desktop application to let a website be browsed, I don\'t want to make a browser but a Browser embeded Application. I\'ve tried with JavaFx

3条回答
  •  北荒
    北荒 (楼主)
    2020-11-30 01:57

    I have a repository that maintains releases for each version of JCEF. The builds are done for different architectures and OS (mac, linux, and windows).

    https://github.com/jcefbuild/java-cef-build/releases

    Depending on your target OS and architecture, each zip contains jars which need to be placed on the classpath of your java application. They also contain native libraries which need to be loaded by your application by setting java.library.path to point to the folder containing the binaries.

    The zips also contain a test application which can be executed by running a script also found in the folder.

提交回复
热议问题