Page 1 of 1

Distribution of jcef

PostPosted: Fri Aug 02, 2019 6:49 am
by guich

I'm trying to find the best way to distribute jcef using both JNLP (with openjdk) and a jar file for standalone java app.

I'm using as reference the files provided here: ... 0.3770.100

For Mac OS i still don't know even how to use the files. But for Windows and Linux, I see that JCEF has three parts:

1. the multiplatform files:
. jogl-all.jar
. gluegen-rt.jar
. jcef.jar

2. The native libraries used by the multiplatform files:
. gluegen-rt-natives-linux-amd64.jar and jogl-all-natives-linux-amd64.jar (linux 64)
. gluegen-rt-natives-linux-i586.jar and jogl-all-natives-linux-i586.jar (linux 32)
. gluegen-rt-natives-windows-amd64.jar and jogl-all-natives-windows-amd64.jar (windows 64)
. gluegen-rt-natives-windows-i586.jar and jogl-all-natives-windows-i586.jar (windows 32)

3. The native files used by the C code:
. *.pak, *.dll, *.bin, icudtl.dat, jcef_helper.exe, locales

So, my question is how to package everything to be correctly handled in linux/windows 32 and 64 bits? If at least the C code could distinguish between 32 and 64-bit dlls it would help.