Blu-ray menus does not work – Java required

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
VLanAlf
New Cone
New Cone
Posts: 4
Joined: 14 Mar 2024 13:20

Blu-ray menus does not work – Java required

Postby VLanAlf » 14 Mar 2024 14:01

Hi!
Yes, nothing new, sorry. In this forum I see much kind of similar posts, also elsewhere. But here I am with same problem. Maybe someone can help out. I have two computers, different hardware, but very similar fully updated Windows 10 installations. Same VLC Player, same Java installed. But … on one VLC does play Blu-ray (ISO, not disc) with menus, other “complains” Java missing. On this problematic computer I tried most I’m able of and can, I think. (Obviously not everything as I haven’t reached out to solution.) I downgraded Java, changed versions (from 8 till 21), tried different versions of VLC, using environment variables, not using these, checked out for dependencies very well described here in forums, nothing seems to work.
On computer in “good” is right now VLC Player 3.0.20 installed along with Java 8 Update 401 (64-bit), updated from 391. Ok, no problem.
On problematic one with same kind of setup VLC hang on. In debug logs I see …

Code: Select all

… src/libbluray/bdj/native/register_native.c:41: Failed to locate class java/awt/BDFontMetrics <unknown.java>:java.io.PrintStream.println:-1: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\JRE\bin\awt.dll: Can't find dependent libraries … org.videolan.BDJLoader:0: ERROR: loadN() failed: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit … src/libbluray/bluray.c:1605: BLURAY destroyed!
Checked out dependencies … everything seems to be in order.
And that’s very much it. “Playing around” with environment variables mostly lead me to “The specified module could not be found.” error in logs and “Java required” error showed up in Player, Blu-ray was played without Java menus, no hanging.
So … any further ideas!? Just curious is this something looking at me and I don’t see it or …?
More thanks, Alar.

VLanAlf
New Cone
New Cone
Posts: 4
Joined: 14 Mar 2024 13:20

Re: Blu-ray menus does not work – Java required

Postby VLanAlf » 15 Mar 2024 14:11

Just bit more detailed failure log ...

Code: Select all

src/libbluray/bluray.c:1465: libbluray version 1.3.2 src/libbluray/bluray.c:1490: BLURAY initialized! src/file/dir_win32.c:125: Error opening dir C:\temp\LOVEACTUALLY_NA.iso src/libbluray/disc/udf_fs.c:79: Opening UDF file AACS\Unit_Key_RO.inf... (045e09f8) src/libbluray/disc/udf_fs.c:90: Error opening file AACS\Unit_Key_RO.inf! src/libbluray/disc/aacs.c:83: AACS\Unit_Key_RO.inf not found. No AACS protection. src/libbluray/disc/udf_fs.c:79: Opening UDF file BDMV\index.bdmv... (045e0638) src/libbluray/disc/udf_fs.c:52: Closed UDF file (045e0638) src/libbluray/bdj/bdj.c:152: JRE version: 1.8 src/libbluray/bdj/bdj.c:170: JavaHome: C:\Program Files (x86)\Java\JRE src/libbluray/bdj/bdj.c:194: Using JRE library C:\Program Files (x86)\Java\JRE\bin\client\jvm.dll src/libbluray/bdj/bdj.c:572: LIBBLURAY_CP not set, searching for libbluray-j2se-1.3.2.jar ... src/file/dl_win32.c:152: library file is C:\temp\VLCPortable\App\vlc\plugins\access\ src/libbluray/bdj/bdj.c:583: Checking C:\temp\VLCPortable\App\vlc\plugins\access\libbluray-j2se-1.3.2.jar ... src/file/file_win32.c:140: Opened WIN32 file C:\temp\VLCPortable\App\vlc\plugins\access\libbluray-j2se-1.3.2.jar (0353f448) src/file/file_win32.c:47: Closed WIN32 file (0353f448) src/libbluray/bdj/bdj.c:585: using C:\temp\VLCPortable\App\vlc\plugins\access\libbluray-j2se-1.3.2.jar src/file/file_win32.c:140: Opened WIN32 file C:\temp\VLCPortable\App\vlc\plugins\access\libbluray-awt-j2se-1.3.2.jar (0353f3a8) src/file/file_win32.c:47: Closed WIN32 file (0353f3a8) src/libbluray/bdj/bdj.c:791: BD-J check: OK src/libbluray/disc/udf_fs.c:131: Opening UDF dir BDMV\META\DL... (04615588) src/libbluray/disc/udf_fs.c:105: Closed UDF dir (04615588) ... src/libbluray/bdnav/meta_parse.c:303: using default disclib language 'eng' src/libbluray/disc/udf_fs.c:79: Opening UDF file CERTIFICATE\id.bdmv... (0353f790) src/libbluray/disc/udf_fs.c:52: Closed UDF file (0353f790) src/libbluray/register.c:418: bd_psr_write(20, 2): no change in value src/libbluray/register.c:420: bd_psr_write(): PSR16 (AUDIO_LANG) 0xffffff -> 0x656e67 src/libbluray/register.c:420: bd_psr_write(): PSR17 (PG_AND_SUB_LANG) 0xffffff -> 0x656e67 src/libbluray/register.c:420: bd_psr_write(): PSR18 (MENU_LANG) 0xffffff -> 0x656e67 src/libbluray/disc/udf_fs.c:79: Opening UDF file \BDMV\META\DL\LA_BDJ_Jacket_SML.jpg... (0353f3d0) src/libbluray/disc/udf_fs.c:52: Closed UDF file (0353f3d0) src/libbluray/bluray.c:3873: bd_read_file(): read 133422 bytes from \BDMV\META\DL\LA_BDJ_Jacket_SML.jpg src/libbluray/bluray.c:3153: PSR change: psr3 = 1 src/libbluray/bluray.c:3153: PSR change: psr4 = 65535 src/libbluray/bluray.c:3153: PSR change: psr0 = 1 src/libbluray/bluray.c:3153: PSR change: psr1 = 255 src/libbluray/bluray.c:3153: PSR change: psr2 = 268374015 src/libbluray/bluray.c:3153: PSR change: psr14 = 65535 src/libbluray/register.c:418: bd_psr_write(4, 65535): no change in value src/libbluray/bluray.c:3114: PSR write: psr4 = 65535 src/libbluray/bdj/bdj.c:1012: bdj_open() src/libbluray/bdj/bdj.c:152: JRE version: 1.8 src/libbluray/bdj/bdj.c:170: JavaHome: C:\Program Files (x86)\Java\JRE src/libbluray/bdj/bdj.c:194: Using JRE library C:\Program Files (x86)\Java\JRE\bin\client\jvm.dll src/file/dl_win32.c:105: GetProcAddress(60f90000, 'JVM_DefineModule') failed: The specified procedure could not be found. src/libbluray/bdj/bdj.c:1004: Created Java VM 0628f4c4 (env 007e9d50) src/libbluray/bdj/bdj.c:1062: Java version: 1.8 src/libbluray/bdj/native/register_native.c:41: Failed to locate class java/awt/BDFontMetrics <unknown.java>:java.io.PrintStream.println:-1: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Java\JRE\bin\awt.dll: Can't find dependent libraries <unknown.java>:java.io.PrintStream.println:-1: at java.lang.ClassLoader$NativeLibrary.load(Native Method) <unknown.java>:java.io.PrintStream.println:-1: at java.lang.ClassLoader.loadLibrary0(Unknown Source) ... src/libbluray/bdj/native/register_native.c:41: Failed to locate class java/awt/BDGraphicsBase <unknown.java>:java.io.PrintStream.println:-1: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit <unknown.java>:java.io.PrintStream.println:-1: at java.awt.Color.<clinit>(Unknown Source) <unknown.java>:java.io.PrintStream.println:-1: at java.awt.BDGraphicsBase.<clinit>(BDGraphicsBase.java:44) src/libbluray/bdj/bdj.c:737: Couldn't register native methods. src/libbluray/bdj/bdj.c:665: LIBBLURAY_PERSISTENT_ROOT not set, using C:\Users\Nemo\AppData\Roaming\bluray\dvb.persistent.root\ src/libbluray/bdj/bdj.c:696: LIBBLURAY_CACHE_ROOT not set, using C:\Users\Nemo\AppData\Roaming\bluray\bluray.bindingunit.root\ src/libbluray/disc/udf_fs.c:131: Opening UDF dir MAKEMKV... (046161d0) src/libbluray/disc/udf_fs.c:138: Error opening MAKEMKV src/libbluray/bdj/native/org_videolan_Libbluray.c:224: getAacsDataN(4096) -> 00000000 src/libbluray/bdj/native/org_videolan_Libbluray.c:357: readRegN(PSR_31) -> 197120 src/libbluray/bdj/native/org_videolan_Libbluray.c:191: getTitleInfosN() src/libbluray/bdj/bdj.c:1172: bdj_process_event(START,65535) src/libbluray/bdj/native/org_videolan_Libbluray.c:486: getBdjoN(00000.bdjo) src/libbluray/disc/udf_fs.c:79: Opening UDF file BDMV\BDJO\00000.bdjo... (04738540) src/libbluray/bdj/bdjo_parse.c:490: [bdj] BDJO > Version: 0020 src/libbluray/disc/udf_fs.c:52: Closed UDF file (04738540) ... src/libbluray/disc/udf_fs.c:79: Opening UDF file BDMV\BDJO\00014.bdjo... (047386a8) src/libbluray/bdj/bdjo_parse.c:490: [bdj] BDJO > Version: 0020 src/libbluray/disc/udf_fs.c:52: Closed UDF file (047386a8) org.bluray.ti.selection.TitleContextImpl:0: INFO: start(First Playback, restart=true) org.videolan.CacheDir:0: INFO: Created cache in C:\Users\Nemo\AppData\Local\Temp\libbluray-bdj-cache\a26525eea5c VFSCache.java:org.videolan.VFSCache.init:61: disc root is in UDF org.videolan.BDJLoader:0: ERROR: loadN() failed: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit java.awt.Component.<clinit>(Unknown Source) org.videolan.BDJLoader.loadN(BDJLoader.java:228) org.videolan.BDJLoader.access$200(BDJLoader.java:46) org.videolan.BDJLoader$BDJLoaderAction.doAction(BDJLoader.java:363) org.videolan.BDJAction.process(BDJAction.java:59) org.videolan.BDJActionQueue.run(BDJActionQueue.java:86) java.lang.Thread.run(Unknown Source) src/libbluray/bdj/bdj.c:1087: bdj_close() org.bluray.ti.selection.TitleContextImpl:0: INFO: destroy() org.videolan.MountManager:0: INFO: Unmounting all JARs Libbluray.java:org.videolan.Libbluray.shutdown:395: shutdown() failed: java.lang.NoClassDefFoundError: Could not initialize class org.videolan.GUIManager src/libbluray/bdj/native/register_native.c:73: Failed to locate class java/awt/BDGraphicsBase <unknown.java>:java.io.PrintStream.println:-1: java.lang.NoClassDefFoundError: Could not initialize class java.awt.BDGraphicsBase src/libbluray/bdj/native/register_native.c:73: Failed to locate class java/awt/BDFontMetrics <unknown.java>:java.io.PrintStream.println:-1: java.lang.NoClassDefFoundError: Could not initialize class java.awt.BDFontMetrics src/libbluray/bluray.c:1605: BLURAY destroyed!
Alar.

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Blu-ray menus does not work – Java required

Postby Lotesdelere » 15 Mar 2024 16:58

So it's only about one single blu-ray disc, all other ones are playing fine ?
If so, then please give us the EAN-13 / UPC codes of the problematic disc.

VLanAlf
New Cone
New Cone
Posts: 4
Joined: 14 Mar 2024 13:20

Re: Blu-ray menus does not work – Java required

Postby VLanAlf » 15 Mar 2024 17:37

Hi and thanks!
No-no, sorry, forgot to mention, it not just about one particular Blu-ray (ISO), it’s about all Blu-ray’s (ISO’s) I suppose, at least about I’ve tried out. On one computer Java is recognized by VLC Player on other one not.
More thanks, Alar.

Lotesdelere
Cone Master
Cone Master
Posts: 10008
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Blu-ray menus does not work – Java required

Postby Lotesdelere » 16 Mar 2024 11:03

Read and apply this guide, read it carefully and don't miss any step:
https://forum.doom9.org/showthread.php?t=176924

VLanAlf
New Cone
New Cone
Posts: 4
Joined: 14 Mar 2024 13:20

Re: Blu-ray menus does not work – Java required

Postby VLanAlf » 19 Mar 2024 12:24

Hi and thanks!
Well, haven’t tried You suggested, but … on OK computer (where no Java error and BR menus ok) nothing such described in “Blu-ray playback with libaacs & libbdplus”.
More thanks, Alar.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 54 guests