[libbluray-devel] Missing classes when trying to play bluray with menus in vlc
Petri Hintukainen
phintuka at users.sourceforge.net
Fri Feb 13 08:53:46 CET 2015
On su, 2015-02-08 at 19:23 +0200, Mehmet Giritli wrote:
> Hi,
>
> I wanted to try vlc to play blurays with menus, which is supposed to be
> working with the git versions I guess. I have libbluray 0.7.0. However,
> I couldnt really get very far with it yet. vlc refuses to play (when it
> is instructed to play with menus) mounted bluray iso images. I see some
> complaining about the missing java classes (see below).
>
> I suspect this is a downstream packaging/dependency problem
Yes
> but this is the place to figure it out I guess.
>
> $ vlc
>
> VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc2-205-g321fa90)
> [000000000090e118] core libvlc: Running vlc with the default interface.
> Use 'cvlc' to use vlc without interface.
> [00000000009f6ad8] qt4 interface error: Unable to load extensions module
> bdj.c:385: BD-J check: Failed to load libbluray.jar
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It does not find java classes. Looks like you have LIBBLURAY_CP
environment variable set, but it does not point to the correct file. If
you're using gentoo, you can try starting vlc with command:
LIBBLURAY_CP=/usr/share/libbluray/lib/libbluray-j2se-0.7.0.jar vlc
(or unset LIBBLURAY_CP if you're compiled and installed libbluray manually)
> [00007f28ac000e38] libbluray demux: First play: 1, Top menu: 1
> HDMV Titles: 13, BD-J Titles: 7, Other: 7
> register_native.c:37: Failed to locate class org/videolan/Logger
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/videolan/Logger
> Caused by: java.lang.ClassNotFoundException: org.videolan.Logger
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> register_native.c:37: Failed to locate class org/videolan/Libbluray
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/videolan/Libbluray
> Caused by: java.lang.ClassNotFoundException: org.videolan.Libbluray
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> register_native.c:37: Failed to locate class java/awt/BDFontMetrics
> Exception in thread "main" java.lang.NoClassDefFoundError:
> java/awt/BDFontMetrics
> Caused by: java.lang.ClassNotFoundException: java.awt.BDFontMetrics
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> register_native.c:37: Failed to locate class java/awt/BDGraphicsBase
> Exception in thread "main" java.lang.NoClassDefFoundError:
> java/awt/BDGraphicsBase
> Caused by: java.lang.ClassNotFoundException: java.awt.BDGraphicsBase
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> bdj.c:338: Couldn't register native methods.
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/videolan/Libbluray
> Caused by: java.lang.ClassNotFoundException: org.videolan.Libbluray
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> bdj.c:315: Failed to locate class org/videolan/Libbluray
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/videolan/Libbluray
> Caused by: java.lang.ClassNotFoundException: org.videolan.Libbluray
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> bdj.c:315: Failed to locate class org/videolan/Libbluray
> register_native.c:69: Failed to locate class java/awt/BDGraphicsBase
> Exception in thread "main" java.lang.NoClassDefFoundError:
> java/awt/BDGraphicsBase
> Caused by: java.lang.ClassNotFoundException: java.awt.BDGraphicsBase
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> register_native.c:69: Failed to locate class java/awt/BDFontMetrics
> Exception in thread "main" java.lang.NoClassDefFoundError:
> java/awt/BDFontMetrics
> Caused by: java.lang.ClassNotFoundException: java.awt.BDFontMetrics
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> register_native.c:69: Failed to locate class org/videolan/Libbluray
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/videolan/Libbluray
> Caused by: java.lang.ClassNotFoundException: org.videolan.Libbluray
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> register_native.c:69: Failed to locate class org/videolan/Logger
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/videolan/Logger
> Caused by: java.lang.ClassNotFoundException: org.videolan.Logger
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
> bluray.c:2902: Can't play BD-J title 1
> bluray.c:1907: bd_read(): no valid title selected!
> [00007f28ac000e38] libbluray demux: Closing overlays.
>
>
>
> _______________________________________________
> libbluray-devel mailing list
> libbluray-devel at videolan.org
> https://mailman.videolan.org/listinfo/libbluray-devel
More information about the libbluray-devel
mailing list