[libbluray-devel] JRE for Android part 2
Petri Hintukainen
phintuka at users.sourceforge.net
Wed Jan 27 22:56:38 UTC 2021
ke, 2021-01-27 kello 19:43 -0300, Vitor Dall'Acqua kirjoitti:
> Ok I'm doing the stupid way of doing things because other way every
> time I touch the code it fails.
> can you tell me why it's only loading the first entry?
> static const char all_libs[] = {"libawt",
static const char * all_libs[] = {"libawt",
> "libawt_headless",
> "libawt_xawt",
> "libdt_socket",
> "libfontmanager",
> "libhprof",
> "libinstrument",
> "libj2gss",
> "libj2pcsc",
> "libj2pkcs11",
> "libjaas_unix",
> "libjava",
> "libjava_crw_demo",
> "libjawt",
> "libjdwp",
> "libjli",
> "libjpeg",
> "libjsdt",
> "libjsig",
> "libjsound",
> "liblcms",
> "libmanagement",
> "libmlib_image",
> "libnet",
> "libnio",
> "libnpt",
> "libsctp",
> "libsunec",
> "libtinyiconv",
> "libunpack",
> "libverify",
> "ibzip",};
"libzip" (?)
>
>
> dl_dlopen(all_libs, NULL);
dl_dlopen() opens only single library, you need to iterate over all
libraries:
for (size_t i = 0; i < sizeof(all_libs) / sizeof(all_libs[0]); i++)
dl_dlopen(all_libs[i], NULL);
>
> result = JNI_CreateJavaVM_fp(jvm, (void**) env, &args);
More information about the libbluray-devel
mailing list