Add built-in Java support

  • thank you. AT least java seems to run now.

    But I get a lot of errors like ERROR: GetDirectory - Error getting udf://smb.....iso/BDMV/JAR/88888/disc.properties (well the dir doesn't exist) and then the bluray doesn't start or it stalls after the first trailer.

    Some work though, but the whole thing seems indeed pretty alpha to me ;)

    LibreELEC (Leia) on Raspberry Pi 4B

    Edited once, last by novalis ().

  • vpeter , have you ever tried to build bd-j support based on openjdk?


    I tried your commit to build it by my self and oracle doesn't allowed it to download it. updating to a newer version is also failing. openjdk is here also when open software in mind the better solution.

  • I quickly tried to build libblueray with openjdk but seems there is some issue.

    Code
    1. [javac] error: Source option 5 is no longer supported. Use 6 or later.
    2. [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

    No idea what it means.

    Gone...

  • after a short look source and target flag are either not set (therefore a default) or set to an older version. how you have changed to open jdk? maybe i can assist.

  • It is fine now with this package.mk

    jre should also be updated.

    Gone...

  • jre package:

    Gone...

  • vpeter thx so far, i will try if it is working with openjdk. if yes my idea is to use openjdk source to build jre for all arch (arm/x86) and use it. i can imaging it would be the only way to get it into LE master.


    i would deny the oracle bins.

  • Some progress information: it seems the jre is depend on some X11 libs which means there will be no rpi builds because rpi is not using X11

  • i doubt it will work because rpi is not working with x11 and therefore when i am using 3 x libs for java the whole xserver is still not available and has more dependencies. rpi is working directly on framebuffer for my understanding in LE. mybe i have not read it but no one has a success story on rpi or miss i something?

  • No, you are wrong. As you can see there is already this addon for RPi which works fine. Those X11 libraries are needed by java to actually run but it doesn't display anything on X display. So all is good :)


    Working RPi addon: bluray-menu-rpi2.tar.gz

    Gone...