[libbluray-devel] JRE for Android part 3
Vitor Dall'Acqua
veggav at gmail.com
Fri Jan 29 00:02:22 UTC 2021
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?
On Thu, Jan 28, 2021 at 7:41 PM Vitor Dall'Acqua <veggav at gmail.com> wrote:
> Ok preloading libnet.so works!
>
> Ok.. we now have to manipulate this path...
>
> 2021-01-28 20:30:15.431 T:14892 DEBUG <general>: CBlurayCallback::Logger
> - org.videolan.CacheDir:0: ERROR: Error creating directory
> /tmp/libbluray-bdj-cache
>
> I was looking at the source..
> Can this be JAVA_HOME/temp or something?
>
> I know nothing of Java =/
>
> On Thu, Jan 28, 2021 at 7:01 PM Vitor Dall'Acqua <veggav at gmail.com> wrote:
>
>> email got too big..
>>
>> Path is correct now we are a few inches from this starting to work...
>>
>> My python addon extracts the files and list everything, all is good.
>> Now check this out:
>> This is from my listing:
>> DEBUG <general>:
>> /mnt/expand/cab01563-bcca-48fa-a0bf-0fbddaf9b192/user/0/org.xbmc.kodi19DV/cache/apk/assets/j2re-image/lib/aarch64/libnet.so
>> DEBUG <general>:
>> /mnt/expand/cab01563-bcca-48fa-a0bf-0fbddaf9b192/user/0/org.xbmc.kodi19DV/cache/apk/assets/j2re-image/lib/aarch64/libnio.so
>>
>> and this is the result:
>> 2021-01-28 19:51:08.734 T:12529 DEBUG <general>:
>> CBlurayCallback::Logger -
>> BDJActionQueue.java:org.videolan.BDJActionQueue.run:93: action failed:
>> java.lang.UnsatisfiedLinkError:
>> /mnt/expand/cab01563-bcca-48fa-a0bf-0fbddaf9b192/user/0/org.xbmc.kodi19DV/cache/apk/assets/j2re-image/lib/aarch64/libnio.so:
>> dlopen failed: library "libnet.so" not found
>>
>> if I would have to guess it is looking for libnet.so at the root of the
>> library directories.
>> Those are now moved and should respect the correct path.
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/libbluray-devel/attachments/20210128/b655eae3/attachment.html>
More information about the libbluray-devel
mailing list