mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-05-09 00:01:20 +00:00
CEF integration for Desktop Jetpack Compose.
Setup:
- Clone the java-cef repository (
git clone https://bitbucket.org/chromiumembedded/java-cef.git) into/third_partydirectory. - Apply patch
/third_party/java-cef-jb-compose-patch/jb_compose_support.patchto/third_party/java-cef - Download skiko-jvm-0.1.6.jar library and copy it to
/third_party/java-cef/third_party/jogamp/jardirectory. - Follow instructions to compile java-cef (BranchesAndBuilding) until you reach step 3 of the instruction.
- Make jcef.jar - execute command in terminal (from
/third_party/java-cef/toolsdirectory): Windows:make_jar.bat win64Linux:make_jar.sh linux64 - Copy jcef.jar file from
/third_party/java-cef/out/win64(or/third_party/java-cef/out/linux64for Linux) to/libsdirectory.
Run example:
To run application execute in terminal: ./gradlew run
PS. Mac OS X is currently not supported.