[libbluray-devel] JRE for Android part 3

Vitor Dall'Acqua veggav at gmail.com
Wed Feb 24 20:39:30 UTC 2021


well.. as usual you solved it!

Thank you Petri!

Release in the same thread. Now more people can enjoy full disc blurays and
that's awesome!
https://forum.kodi.tv/showthread.php?tid=360250



On Wed, Feb 24, 2021 at 2:49 PM Petri Hintukainen <
phintuka at users.sourceforge.net> wrote:

> ke, 2021-02-24 kello 13:24 -0300, Vitor Dall'Acqua kirjoitti:
> > Hey just wanted to bring this back up again to check if you guys have
> > any advice on this.I have compiled the aarch32 version of that
> > OpenJDK but I'm facing 2 problems:
> >
> > One is that I can't build a server version of libjvm.so, so I'm using
> > the client one.
> > I have reported it here:
> > https://github.com/PojavLauncherTeam/PojavLauncher/issues/949
> > but so far no solution was found.
>
> Those build scripts seem to select client JVM for aarch32.
> Client JVM should be OK for BD-J.
>
> > The other problem is that while using it libbluray always ends with
> > this error:
> > ERROR: loadN() failed: java.lang.UnsatisfiedLinkError:
> > java.awt.Component.initIDs()V
> > java.awt.Component.initIDs(Native Method)
> > java.awt.Component.<clinit>(Component.java:596)
> > org.videolan.BDJLoader.loadN(BDJLoader.java:228)
> > org.videolan.BDJLoader.access$200(BDJLoader.java:46)
> > org.videolan.BDJLoader$BDJLoaderAction.doAction(BDJLoader.java:363)
> > org.videolan.BDJAction.process(BDJAction.java:59)
> > org.videolan.BDJActionQueue.run(BDJActionQueue.java:86)
> > java.lang.Thread.run(Thread.java:748)
> >
> > I have compiled the lib as debug and I'm using 0x22804 as debug mask
> > for libbluray but no other information is available.
> > Any idea what this might be?
>
> I had the same issue while testing it in Ubuntu. AWT libraries are
> missing native functions. Maybe preloading could fix this. I fixed it
> by adding those functions to few more places...
>
> You could try if the attached patch helps. Probably all changes are not
> needed and some are "duplicate". I didn't test those much, as my only
> intent was to see if it can run BD-J Xlets.
>
> Ex. change in jdk/make/lib/Awt2dLibraries.gmk is basically wrong, and
> may cause build issues. You probably should try first without it.
>
> Also note that it is against aarch64 tree (I don't know if it applies
> to aarch32 tree as-is).
>
>
> _______________________________________________
> libbluray-devel mailing list
> libbluray-devel at videolan.org
> https://mailman.videolan.org/listinfo/libbluray-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20210224/d168be53/attachment.html>


More information about the libbluray-devel mailing list