<div dir="ltr">well.. as usual you solved it!<div><br></div><div>Thank you Petri!</div><div><br></div><div>Release in the same thread. Now more people can enjoy full disc blurays and that's awesome!</div><div><a href="https://forum.kodi.tv/showthread.php?tid=360250">https://forum.kodi.tv/showthread.php?tid=360250</a><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Feb 24, 2021 at 2:49 PM Petri Hintukainen <<a href="mailto:phintuka@users.sourceforge.net" target="_blank">phintuka@users.sourceforge.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ke, 2021-02-24 kello 13:24 -0300, Vitor Dall'Acqua kirjoitti:<br>
> Hey just wanted to bring this back up again to check if you guys have<br>
> any advice on this.I have compiled the aarch32 version of that<br>
> OpenJDK but I'm facing 2 problems:<br>
> <br>
> One is that I can't build a server version of libjvm.so, so I'm using<br>
> the client one. <br>
> I have reported it here:<br>
> <a href="https://github.com/PojavLauncherTeam/PojavLauncher/issues/949" rel="noreferrer" target="_blank">https://github.com/PojavLauncherTeam/PojavLauncher/issues/949</a><br>
> but so far no solution was found.<br>
<br>
Those build scripts seem to select client JVM for aarch32.<br>
Client JVM should be OK for BD-J.<br>
<br>
> The other problem is that while using it libbluray always ends with<br>
> this error:<br>
> ERROR: loadN() failed: java.lang.UnsatisfiedLinkError:<br>
> java.awt.Component.initIDs()V<br>
> java.awt.Component.initIDs(Native Method)<br>
> java.awt.Component.<clinit>(Component.java:596)<br>
> org.videolan.BDJLoader.loadN(BDJLoader.java:228)<br>
> org.videolan.BDJLoader.access$200(BDJLoader.java:46)<br>
> org.videolan.BDJLoader$BDJLoaderAction.doAction(BDJLoader.java:363)<br>
> org.videolan.BDJAction.process(BDJAction.java:59)<br>
> org.videolan.BDJActionQueue.run(BDJActionQueue.java:86)<br>
> java.lang.Thread.run(Thread.java:748)<br>
> <br>
> I have compiled the lib as debug and I'm using 0x22804 as debug mask<br>
> for libbluray but no other information is available. <br>
> Any idea what this might be?<br>
<br>
I had the same issue while testing it in Ubuntu. AWT libraries are<br>
missing native functions. Maybe preloading could fix this. I fixed it<br>
by adding those functions to few more places...<br>
<br>
You could try if the attached patch helps. Probably all changes are not<br>
needed and some are "duplicate". I didn't test those much, as my only<br>
intent was to see if it can run BD-J Xlets.<br>
<br>
Ex. change in jdk/make/lib/Awt2dLibraries.gmk is basically wrong, and<br>
may cause build issues. You probably should try first without it.<br>
<br>
Also note that it is against aarch64 tree (I don't know if it applies<br>
to aarch32 tree as-is).<br>
<br>
<br>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>