[libbluray-devel] Found a JRE compiled for Android (ARM)

Shaya Potter spotter at gmail.com
Sat Jan 23 21:38:01 UTC 2021


On Sat, Jan 23, 2021, 11:32 PM Petri Hintukainen <
phintuka at users.sourceforge.net> wrote:

> la, 2021-01-23 kello 17:43 -0300, Vitor Dall'Acqua kirjoitti:
> > Well, I'm no expert but when I tried to add it along with other
> > libraries it ended up in the same folder along with all other libs.
>
> Then, it should find libjvm.so from there without any path ? If
> JAVA_HOME is unset, first probed library is "libjvm.so" without any
> path added to it.
>
> If not, you could try adding following snippet to bdj.c:_load_jvm(),
> before "java_home = getenv("JAVA_HOME")" line:
>
>     handle = dl_dlopen("/lib/arm64/libjvm.so", NULL);
>     if (handle) {
>         return handle;
>     }
>
> But JVM probably won't find other files it needs if those are inside
> the apk.
>

I was arguing that the whole jvm needs to be in the apk, see the phoneme
apk I linked to.  It includes cvm in /assets/

>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20210123/c792aa92/attachment.html>


More information about the libbluray-devel mailing list