[libbluray-devel] JRE for Android part 3

Shaya Potter spotter at gmail.com
Fri Jan 29 08:49:21 UTC 2021


On Fri, Jan 29, 2021 at 2:02 AM Vitor Dall'Acqua <veggav at gmail.com> wrote:

> Ok solved the write protected with
>
>     option[n++].optionString = str_dup
> ("-Djava.io.tmpdir=/storage/emulated/0/Android/");
>
> Petri, now this is beyond me:
> 2021-01-28 21:58:59.346 T:18499   DEBUG <general>: CBlurayCallback::Logger
> - org.videolan.BDJLoader:0: ERROR: loadN() failed:
> java.awt.HeadlessException:
>                                                    No X11 DISPLAY variable
> was set, but this program performed an operation which requires it.
>
> Do you have any idea?
>

this is the headless awt thing i mentioned before.  This is very good
progress I'd think.

A simple thing to try to do is set env variable X11_DISPLAY=:0, if it's
just checking for the env var but doesn't actually draw to it, it might get
it past it.  If it actually has to draw, it will fail somewhere else
later.  The question is what libbluray would need for java9's headless awt
mode.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20210129/66481c95/attachment.html>


More information about the libbluray-devel mailing list