[libbluray-devel] JRE for Android part 2

Petri Hintukainen phintuka at users.sourceforge.net
Mon Jan 25 20:59:51 UTC 2021


ma, 2021-01-25 kello 16:57 -0300, Vitor Dall'Acqua kirjoitti:
> Well, I have added the latest build for aarch64 and got this:
> 2021-01-25 17:53:05.348 T:30088   DEBUG <general>:
> CBlurayCallback::Logger - dl_posix.c:56: opened library 'libjvm.so'
>                                                    
> 2021-01-25 17:53:05.350 T:30088   DEBUG <general>:
> CBlurayCallback::Logger - dl_posix.c:114: dlsym(0xc2c281e42d63307,
> 'JVM_DefineModule') failed: undefined symbol: JVM_DefineModule
> 
> and Kodi crashed. 

Could you send me the full log ?

I don't think this is the reason for crash. This is used to detect Java
9 or later (JVM initialization is quite different for < 9 and >= 9).

> So, ok.. one more question, do we need the libjvm server or client?

I think both are fine. All my installed JVMs seem to be server ones. I
think the difference is in runtime code optimizations.

> And does that fail makes any sense? Is it caused by incompatible ndk
> versions?

Could be. Or maybe it doesn't find some other files or libraries ? Did
you manage to keep the original JRE directory tree ?

> On Mon, Jan 25, 2021 at 4:32 PM Roald Strauss <mr_lou at dewfall.dk>
> wrote:
> >  
> >  Lemme pitch in, if I can do that by just replying this mail.
> >  AWT = Abstract Windowing Tools, as far as I remember.
> >  It is the framework used for drawing stuff in old Java, and yes,
> > it is very much needed for Blu-ray Disc Java. It's the only way
> > developers can draw stuff to the screen.
> >  
> >  
> >  
> >  
> >  Den 25.01.2021 kl. 20.12 skrev Vitor Dall'Acqua:
> >  
> >  
> > >  
> > > Got a reply! 
> > >  
> > >  So, launcher already has all the components of JRE (except for
> > > headful AWT, of course), but it was built with ndk-r12b (i
> > > think?) 
> > >  
> > >  
> > >  @Petri what is AWT and is that needed for libbluray?
> > >  
> > >  
> > >  Is it too lazy of my end to ask the guy to compile it with a
> > > newer ndk? O:) 
> > >  
> > >  
> > >  
> > >  
> > >  On Mon, Jan 25, 2021 at 3:52 PM Vitor Dall'Acqua < 
> > > veggav at gmail.com> wrote:
> > >  
> > >  
> > > >  
> > > > Well.. wish me luck  
> > > >  
> > > >  https://github.com/PojavLauncherTeam/PojavLauncher/issues/713
> > > >  
> > > >  
> > > >  
> > > >  Later, I'll give a go with his JRE files and see what
> > > > happens. 
> > > >  
> > > >  
> > > >  
> > > >  On Mon, Jan 25, 2021 at 3:27 PM Shaya Potter < 
> > > > spotter at gmail.com> wrote:
> > > >  
> > > >  
> > > > >  
> > > > > this actually includes source code
> > > > >  
> > > > >  see
> > > > >  
> > > > >  https://github.com/PojavLauncherTeam/PojavLauncher
> > > > >  
> > > > >  Java Runtime Environment (JRE)
> > > > >  
> > > > >  JRE for Android is here, also the build script here.
> > > > >  Follow build instruction on build script README.md.
> > > > >  You can also get CI auto builds.
> > > > >  Spliting JRE and put to the launcher: coming soon.
> > > > >  
> > > > >  I'd reach out to that guy, ask him if he would be interested
> > > > > in trying to get his android work integrated into kodi
> > > > > android build for libbluray usage. 
> > > > >  
> > > > >  
> > > > >  On Mon, Jan 25, 2021 at 7:30 PM Vitor Dall'Acqua < 
> > > > > veggav at gmail.com> wrote:
> > > > >  
> > > > >  
> > > > > >  
> > > > > >  Received a notice that the e-mails were getting really big
> > > > > > and blocked. 
> > > > > >  
> > > > > >  
> > > > > >  
> > > > > >  So, look another thing I found:
> > > > > >   
> > > > > > https://github.com/PojavLauncherTeam/PojavLauncher/releases
> > > > > >  
> > > > > >  
> > > > > >  Minecraft launcher built for Android that uses JRE. 
> > > > > >  
> > > > > >  When you install this apk it will place the files are
> > > > > > normal /data/app/appname/lib and no JRE there.
> > > > > >  After it runs for the first time it will put files here:
> > > > > >  
> > > > > >  
> > > > > >  /data/user/0/net.kdt.pojavlaunch/jre_runtime/lib/aarch64/s
> > > > > > erver/libjvm.so
> > > > > >  
> > > > > >  
> > > > > >  So I took that put in a zip file and added to mega so you
> > > > > > guys can take a look
> > > > > >   
> > > > > > https://mega.nz/file/XNly2ZgB#DFyM8xq4mEAQQ1d3ERF1GFoTqzIOcuESZXjuGdIguek
> > > > > >  
> > > > > >  
> > > > > >  It seems many use JRE on Android.
> > > > > >  And as you can see it's very similar to the way it's
> > > > > > present in Termux.
> > > > > >  
> > > > > >   
> > > > > >  _______________________________________________
> > > > > >  libbluray-devel mailing list
> > > > > >  libbluray-devel at videolan.org
> > > > > >  https://mailman.videolan.org/listinfo/libbluray-devel
> > > > > >  
> > > > > > 
> > > > >  
> > > > >  _______________________________________________
> > > > >  libbluray-devel mailing list
> > > > >  libbluray-devel at videolan.org
> > > > >  https://mailman.videolan.org/listinfo/libbluray-devel
> > > > >  
> > > > > 
> > > >  
> > > >  
> > > > 
> > >  
> > >  
> > >  
> > >  
> > > _______________________________________________
> > > libbluray-devel mailing list
> > > libbluray-devel at videolan.org
> > > https://mailman.videolan.org/listinfo/libbluray-devel
> > >  
> >  
> > _______________________________________________
> > libbluray-devel mailing list
> > libbluray-devel at videolan.org
> > https://mailman.videolan.org/listinfo/libbluray-devel
> _______________________________________________
> libbluray-devel mailing list
> libbluray-devel at videolan.org
> https://mailman.videolan.org/listinfo/libbluray-devel




More information about the libbluray-devel mailing list