And those are definitely BDJ-Menus?
Add built-in Java support
-
gyuce -
February 21, 2018 at 4:23 PM -
Thread is Unresolved
-
-
There are lot of files in the BDJO and JAR folders. So i think it´s BDJ.
-
So which image did you flash and which Mil version?
-
Everything from this Post Add built-in Java support
After installing the addon restart.
And in the settings switch to simplified menu. After you click on a ISO Image or bluray Disk choose in the simplified menu play Bluray Menu.
-
So you did not install on a RasPi?
-
Adding jre to Generic project is simple as writing this post
It´s only for Generic systems. You need the version of java for ARM processors, but I don´t know if its working on the Pi.
Maybe vpeter has a solution for you.
-
yes, didn't remeber that. "Java as addon was already done (for Generic only)."
-
It´s only for Generic systems. You need the version of java for ARM processors, but I don´t know if its working on the Pi.
Maybe vpeter has a solution for you.
Sorry but vpeter doesn't have any RPi. Which means I'm not looking how to run java there
-
Sorry but vpeter doesn't have any RPi. Which means I'm not looking how to run java there
Oracle is offering a special Java ARM package on their webpage called "Linux ARM 32 Hard Float ABI". The 64 bit version is also there. Is there any chance to implement this in an add-on package for LIBREELEC on RPi? I am not a programmer but I can offer my support for testing of alpha / beta versions.
-
Until someone tries we will not know
But as I wrote addon also needs some shared libs which was copid from Ubuntu for Generic. But for RPi it should be copied from maybe Raspbian or ideally build on LibreELEC.
-
Cool , hope someone with skills can build a test addon/ build for Rpi 🙂
-
I tried to install it on rpi3. I compiled Libbluray from scratch on the raspberry pi in respbian. And I also copied the libraries from respbian. Installed it on libreelec as an add-on. But when I try to play a file with disc menu I got a spinning wheel.
Edit: For java I took the jdk-8u161-linux-arm32-vfp-hflt.tar.gz
The debug los says:
Code
Display More19:45:07.657 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - bluray.c:3394: HDMV event: 7 0 19:45:07.657 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - bluray.c:3394: HDMV event: 3 2 19:45:07.658 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - register.c:420: bd_psr_write(): PSR4 (TITLE_NUMBER) 0xffff -> 0x2 19:45:07.658 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - bluray.c:3045: PSR change: psr4 = 2 19:45:07.658 T:1941344832 DEBUG: GLES: Extension Support Test - GL_EXT_texture_format_BGRA8888 YES 19:45:08.998 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - register_native.c:41: Failed to locate class java/awt/BDFontMetrics 19:45:09.008 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: java.lang.UnsatisfiedLinkError: /storage/.kodi/addons/java/jre23/lib/arm/libawt_xawt.so: libXext.so.6: cannot open shared object file: No such file or directory 19:45:09.009 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.ClassLoader$NativeLibrary.load(Native Method) 19:45:09.010 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) 19:45:09.010 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824) 19:45:09.010 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.Runtime.load0(Runtime.java:809) 19:45:09.011 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.System.load(System.java:1086) 19:45:09.011 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.ClassLoader$NativeLibrary.load(Native Method) 19:45:09.011 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941) 19:45:09.011 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845) 19:45:09.012 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.Runtime.loadLibrary0(Runtime.java:870) 19:45:09.012 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.lang.System.loadLibrary(System.java:1122) 19:45:09.012 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.awt.Toolkit$3.run(Toolkit.java:1636) 19:45:09.012 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.awt.Toolkit$3.run(Toolkit.java:1634) 19:45:09.013 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.security.AccessController.doPrivileged(Native Method) 19:45:09.013 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.awt.Toolkit.loadLibraries(Toolkit.java:1633) 19:45:09.013 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.awt.Toolkit.<clinit>(Toolkit.java:1670) 19:45:09.013 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.awt.FontMetrics.<clinit>(FontMetrics.java:103) 19:45:09.031 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - register_native.c:41: Failed to locate class java/awt/BDGraphicsBase 19:45:09.031 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit 19:45:09.032 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.awt.Color.<clinit>(Color.java:275) 19:45:09.032 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - PrintStream.java:java.io.PrintStream.println:823: at java.awt.BDGraphicsBase.<clinit>(BDGraphicsBase.java:44) 19:45:09.032 T:1614996352 DEBUG: CDVDInputStreamBluray::Logger - bdj.c:617: Couldn't register native methods. 19:45:09.247 T:1614996352 DEBUG: CDVDInputStreamBluray - BD_EVENT_TITLE 2 19:45:09.323 T:1260503936 DEBUG: CDVDInputStreamBluray::Logger - VFSCache.java:org.videolan.VFSCache.init:61: disc root is in UDF 19:45:09.376 T:1260503936 DEBUG: CDVDInputStreamBluray::Logger - org.videolan.BDJLoader:0: ERROR: loadN() failed: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit java.awt.Component.<clinit>(Component.java:593) org.videolan.BDJLoader.loadN(BDJLoader.java:226) org.videolan.BDJLoader.access$200(BDJLoader.java:45) org.videolan.BDJLoader$BDJLoaderAction.doAction(BDJLoader.java:356) org.videolan.BDJAction.process(BDJAction.java:59) org.videolan.BDJActionQueue.run(BDJActionQueue.java:86) java.lang.Thread.run(Thread.java:748) 19:45:37.684 T:1812697984 DEBUG: Thread JobWorker 1812697984 terminating (autodelete) 19:45:37.688 T:1606603648 DEBUG: Thread JobWorker 1606603648 terminating (autodelete)
-
You are missing library libXext.so.6 because of
-
-
Nice work you two 😀
Could the addon also be made for Amlogic s905?
-
Bluray Menus are working on my Raspberry Pi 3
Great.
Tell me something: From what I see you copied only jre folder from jdk-8u161-linux-arm32-vfp-hflt.tar.gz? Correct?
-
Could the addon also be made for Amlogic s905?
Don't have such device which means it is the same story as with RPi: Maybe someone will investigate. But I'm sure it could be done.
Maybe you could try above RPi2 version.
-
I copied the JRE from the dk-8u161-linux-arm32-vfp-hflt.tar.gz and renamed it to JRE1.8.0_161. Create a symlink from JRE to JRE1.8.0_161.
Also I recompiled the Libbluray.jar on respbian. But I think that is not necessary. Last I copied the the libs inside the lib folder. Also from raspbian os.
I hope its possible to integrate it in the final images of libreelec 9.
-