Add built-in Java support

  • 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 :huh:

  • Sorry but vpeter doesn't have any RPi. Which means I'm not looking how to run java there :huh:

    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.

  • 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:

  • You are missing library because of

    19:45:09.008 T:1614996352   DEBUG: CDVDInputStreamBluray::Logger - java.lang.UnsatisfiedLinkError: /storage/.kodi/addons/java/jre23/lib/arm/ cannot open shared object file: No such file or directory
  • vpeter thanks for your help :)

    Bluray Menus are working on my Raspberry Pi 3. Tested with Milhouse Build 0407.

    I uploaded the package on my private server, hope thats ok.

    tar xzf bluray-menu-rpi2.tar.gz -C /
    rm bluray-menu-rpi2.tar.gz 
  • 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.