Posts: 244
Joined: Sep 2012
Reputation:
6
Would there be a chance to install the JRE on Libreelec myself if they wouldn't do it, so that Kodi or libbluray could make use of it?
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
There may be a docker container that is usable on LE?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 54
Joined: Aug 2014
Reputation:
9
There is a separate j2me runtime called phoneme, if we could just compile the nightly libbluray with j2me support it may work
Posts: 54
Joined: Aug 2014
Reputation:
9
If you look at the configure in libbluray it allows to compile with j2me support which includes more stuff as j2me is more limited than j2se.
Posts: 6,252
Joined: Jun 2009
Reputation:
115
da-anda
Team-Kodi Member
Posts: 6,252
if you have the skills to give it a try using phoneme or whatever, please do so. Thanks.
Posts: 54
Joined: Aug 2014
Reputation:
9
I'm not even sure it needs to be included in the apk, there's a separate apk download which changes behavior of kodi. If someone could make it easy for me to have a build env, or alternatively just compile the included libbluray with j2me support I think there's a chance it may just work. j2me support is an extra configure flag for the included libbluray.
Posts: 10,525
Joined: Oct 2011
Reputation:
639
jjd-uk
Team-Kodi Member
Posts: 10,525
Not going to happen as Microsoft don't allow any apps other than their own to access the optical drive on the Xbox.
Posts: 32
Joined: Apr 2015
Reputation:
3
mr_lou
Junior Member
Posts: 32
Regarding BD-J support on platforms without a JVM.
Keep in mind, the Blu-ray specs were created back in 2001. The first player came on the market in 2003.
This means Blu-ray Disc Java is very old. And this means that the JVM necessary to run BD-J is very small.
Take a look at phoneME: 1,4 mb to run JavaME stuff. That's considered nothing in this day and age.
So to me, it sure looks like Kodi could/should simply embed its own JVM, and then BD-J would work on all platforms without having a JVM installed. Even Android and AppleTV.
Obviously not a full latest JVM. That would be way too big. But just one that contains the necessary API's.
Java gamedevs do it all the time. There's no reason why Kodi couldn't do it too. And it would absolutely rock!