[libbluray-devel] [Git][videolan/libbluray][master] Lookup /etc/alternatives for java path

Petri Hintukainen (@hpi) gitlab at videolan.org
Wed Sep 21 09:30:21 UTC 2022



Petri Hintukainen pushed to branch master at VideoLAN / libbluray


Commits:
4854c535 by Francois Cartegnie at 2022-09-20T11:18:28+02:00
Lookup /etc/alternatives for java path

- - - - -


1 changed file:

- src/libbluray/bdj/bdj.c


Changes:

=====================================
src/libbluray/bdj/bdj.c
=====================================
@@ -411,6 +411,8 @@ static void *_load_jvm(const char **p_java_home, const char *app_java_home)
                                             "/usr/local/jdk-11",
                                             "/usr/local/jdk-17",
 #    else
+                                            "/etc/alternatives/java_sdk_openjdk",
+                                            "/etc/alternatives/java_sdk",
                                             "/usr/lib/jvm/default-java",
                                             "/usr/lib/jvm/default",
                                             "/usr/lib/jvm/",



View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/4854c53577a7db982ba95edf28c287a8bc5a863d

-- 
View it on GitLab: https://code.videolan.org/videolan/libbluray/-/commit/4854c53577a7db982ba95edf28c287a8bc5a863d
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the libbluray-devel mailing list