<div dir="ltr">it probably doesn't make a difference, but meant setting DISPLAY env variable to :0.0 (much like JAVA_HOME you were dealing with before).<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 2:33 PM Vitor Dall'Acqua <<a href="mailto:veggav@gmail.com">veggav@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Made no difference<div><br></div><div> setenv("X11_DISPLAY", "DISPLAY=:0.0", 1);<br> <br> setenv("X11_DISPLAY", "X11_DISPLAY=:0.0", 1);<br></div><div><br></div><div>maybe I'm not writing it properly.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 5:49 AM Shaya Potter <<a href="mailto:spotter@gmail.com" target="_blank">spotter@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 29, 2021 at 2:02 AM Vitor Dall'Acqua <<a href="mailto:veggav@gmail.com" target="_blank">veggav@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ok solved the write protected with<div><br></div><div> option[n++].optionString = str_dup ("-Djava.io.tmpdir=/storage/emulated/0/Android/");<br><div><br></div><div>Petri, now this is beyond me:</div><div>2021-01-28 21:58:59.346 T:18499 DEBUG <general>: CBlurayCallback::Logger - org.videolan.BDJLoader:0: ERROR: loadN() failed: java.awt.HeadlessException: <br> No X11 DISPLAY variable was set, but this program performed an operation which requires it.<br></div><div><br></div></div><div>Do you have any idea?</div></div></blockquote><div><br></div><div>this is the headless awt thing i mentioned before. This is very good progress I'd think.<br><br></div><div>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.<br></div></div></div>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>
_______________________________________________<br>
libbluray-devel mailing list<br>
<a href="mailto:libbluray-devel@videolan.org" target="_blank">libbluray-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/libbluray-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/listinfo/libbluray-devel</a><br>
</blockquote></div>