You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Nikolay Igotti 6efe1e5b9b CEF runtime publishing scripts. 4 years ago
..
gradle/wrapper Minor CEF tweaks. 4 years ago
libs Minor CEF tweaks. 4 years ago
scripts CEF runtime publishing scripts. 4 years ago
src/main/kotlin/org/jetbrains/compose/desktop Added example of CEF integration in Jetpack Compose. 4 years ago
third_party/java-cef-jb-compose-patch Added example of CEF integration in Jetpack Compose. 4 years ago
.gitattributes Added example of CEF integration in Jetpack Compose. 4 years ago
.gitignore Added example of CEF integration in Jetpack Compose. 4 years ago
README.md Added example of CEF integration in Jetpack Compose. 4 years ago
build.gradle.kts Added example of CEF integration in Jetpack Compose. 4 years ago
gradlew Minor CEF tweaks. 4 years ago
gradlew.bat Added example of CEF integration in Jetpack Compose. 4 years ago
settings.gradle.kts Added example of CEF integration in Jetpack Compose. 4 years ago

README.md

CEF integration for Desktop Jetpack Compose.

Setup:

  1. Clone the java-cef repository (git clone https://bitbucket.org/chromiumembedded/java-cef.git) into /third_party directory.
  2. Apply patch /third_party/java-cef-jb-compose-patch/jb_compose_support.patch to /third_party/java-cef
  3. Download skiko-jvm-0.1.6.jar library and copy it to /third_party/java-cef/third_party/jogamp/jar directory.
  4. Follow instructions to compile java-cef (BranchesAndBuilding) until you reach step 3 of the instruction.
  5. Make jcef.jar - execute command in terminal (from /third_party/java-cef/tools directory): Windows: make_jar.bat win64 Linux: make_jar.sh linux64
  6. Copy jcef.jar file from /third_party/java-cef/out/win64 (or /third_party/java-cef/out/linux64 for Linux) to /libs directory.

Run example: To run application execute in terminal: ./gradlew run

PS. Mac OS X is currently not supported.