Error opening registry key - Java Runtime Environment

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.
markfilipak
Blank Cone
Blank Cone
Posts: 67
Joined: 13 Jan 2013 00:17
Location: Mansfield, Ohio, U.S.A.

Error opening registry key - Java Runtime Environment

Postby markfilipak » 20 Mar 2018 05:42

I have a persistent error in a fresh install of VLC 2.2.8. The VLC debug window shows this:
src/libbluray/bdj/bdj.c:78: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\
src/libbluray/bdy/bdj.c:460: BD-J check: Failed to load JVM library
There is no 'HKLM\SOFTWARE\JavaSoft\Java Runtime Environment\' key!
But there is an 'HKLM\SOFTWARE\JavaSoft\JRE\' key.
So, I copied it into the Win7 Registry.
(Note: The 'code' tag doesn't seem to work right, so I used a 'quote' tag. I apologize for any inconvenience.)
Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE]
"CurrentVersion"="9.0.4"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\9.0.4]
"JavaHome"="C:\\Program Files\\Java\\jre-9.0.4"
"RuntimeLib"="C:\\Program Files\\Java\\jre-9.0.4\\bin\\server\\jvm.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\9.0.4\MSI]
"AUTOUPDATECHECK"="1"
"AUTOUPDATEDELAY"=""
"EULA"=""
"FROMVERSION"="NA"
"FullVersion"="9.0.4+11"
"INSTALLDIR"="C:\\Program Files\\Java\\jre-9.0.4\\"
"JAVAUPDATE"="1"
"JU"=""
"OEMUPDATE"=""
"PRODUCTVERSION"="9.0.4.0"


[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Enviroment]
"CurrentVersion"="9.0.4"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Enviroment\9.0.4]
"JavaHome"="C:\\Program Files\\Java\\jre-9.0.4"
"RuntimeLib"="C:\\Program Files\\Java\\jre-9.0.4\\bin\\server\\jvm.dll"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Enviroment\9.0.4\MSI]
"AUTOUPDATECHECK"="1"
"AUTOUPDATEDELAY"=""
"EULA"=""
"FROMVERSION"="NA"
"FullVersion"="9.0.4+11"
"INSTALLDIR"="C:\\Program Files\\Java\\jre-9.0.4\\"
"JAVAUPDATE"="1"
"JU"=""
"OEMUPDATE"=""
"PRODUCTVERSION"="9.0.4.0"
This DID NOT fix the problem. Does anyone know of a fix? (I found lots of posts about this around the Internet, but no clear statements and no fix.)

Much Thanks.

garf
Developer
Developer
Posts: 132
Joined: 19 Jul 2017 09:38

Re: Error opening registry key - Java Runtime Environment

Postby garf » 20 Mar 2018 10:58

Hello,

I suggest you try the new stable version of VLC (3.0.X):
https://www.videolan.org/vlc/index.html

Regards,

--
Simon Latapie

markfilipak
Blank Cone
Blank Cone
Posts: 67
Joined: 13 Jan 2013 00:17
Location: Mansfield, Ohio, U.S.A.

Re: Error opening registry key - Java Runtime Environment

Postby markfilipak » 20 Mar 2018 20:19

I suggest you try the new stable version of VLC (3.0.X):
https://www.videolan.org/vlc/index.html
Thank you, Simon. I downloaded it and will get back here if problems. I'm also trying to make my 3rd $-contribution to the project but I'm having problems with PayPal (or my bank, not sure which).

Fond Regards, Mark.
How did I not know there was a new version? ...my oh my.

markfilipak
Blank Cone
Blank Cone
Posts: 67
Joined: 13 Jan 2013 00:17
Location: Mansfield, Ohio, U.S.A.

Re: Error opening registry key - Java Runtime Environment

Postby markfilipak » 20 Mar 2018 21:58

Okay, I upgraded to VLC 3.0.1 and played a bluray. There immediately are 3 issues:

1 - Though JRE 9.0.4 is installed, playing a bluray provokes error dialog:
Java required:
This Blu-ray disc requires Java for menus support.Java was not found on your system.
The disc will be played without menus.
2 - 'View'>'Add Interface'>'Debug logging' does not open a debug window.

3 - The installer preserved some user preferences and destroyed other user preferences.
Last edited by markfilipak on 21 Mar 2018 04:42, edited 1 time in total.

markfilipak
Blank Cone
Blank Cone
Posts: 67
Joined: 13 Jan 2013 00:17
Location: Mansfield, Ohio, U.S.A.

Re: Error opening registry key - Java Runtime Environment

Postby markfilipak » 21 Mar 2018 04:28

My Windows Registry contains the right stuff for JRE. My hard disk has the right stuff for JRE and it matches the Windows Registry entries.

Here's a silly question (I hope):

Can VLC not find the DLL because the path has a space in it (to wit: 'c:\Program Files\Java\jre-9.0.4\bin\server\jvm.dll')?

PS: Actually, it may not be a silly question because VLC seems to be unable to find anything in the 'C:\Program Files\' path. Look:
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\libaccess_bd_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\librar_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\libzip_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\audio_filter\liba52tofloat32_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\audio_filter\liba52tospdif_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\audio_filter\libdtstofloat32_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\audio_filter\libdtstospdif_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\audio_filter\libmpgatofixed32_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\codec\libdts_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\codec\libmpeg_audio_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\codec\libquicktime_plugin.dll
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\demux\libh264_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\demux\libhevc_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\gui\libqt4_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\stream_filter\libdash_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\stream_filter\libhttplive_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\stream_filter\libsmooth_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\stream_out\libstream_out_langfromtelx_plugin.dll
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\stream_out\libstream_out_raop_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\video_filter\libatmo_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\video_filter\libaudiobargraph_v_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\video_filter\liblogo_plugin.dll
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\video_filter\libmarq_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\video_filter\libmosaic_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\video_filter\libremoteosd_plugin.dll
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\video_filter\librss_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\video_filter\libsubsdelay_plugin.dll
main warning: cannot find plug-in entry point in C:\Program Files\VideoLAN\VLC\plugins\video_filter\libyuvp_plugin.dll
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\video_output\libdirect2d_plugin.dll' (The specified procedure could not be found. (error 127))
main warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\video_output\libdirect3d_plugin.dll' (The specified procedure could not be found. (error 127))

robUx4
Developer
Developer
Posts: 254
Joined: 31 Jan 2005 13:50
VLC version: master
Operating System: Windows
Contact:

Re: Error opening registry key - Java Runtime Environment

Postby robUx4 » 21 Mar 2018 15:40

It looks like you installed VLC 3.0 on top of VLC 2.2. You have to uninstall 2.2 before installing 3.0.

markfilipak
Blank Cone
Blank Cone
Posts: 67
Joined: 13 Jan 2013 00:17
Location: Mansfield, Ohio, U.S.A.

Re: Error opening registry key - Java Runtime Environment

Postby markfilipak » 21 Mar 2018 18:47

As suggested, I uninstalled VLC 3.0.1 -- and I deleted the directories left behind -- and reinstalled VLC 3.0.1 fresh. I turned on logger & tried to enable Debug window. Then I tried to play a bluray.

All of the problems are still there. A clean install fixed nothing.

Nimelrian
New Cone
New Cone
Posts: 1
Joined: 02 Aug 2018 10:15

Re: Error opening registry key - Java Runtime Environment

Postby Nimelrian » 02 Aug 2018 10:37

Running on Win 10 Professional 64bit
VLC 3.0.3 (Stable from website)

Trying to play a bluray shows the following errors in the console:

Code: Select all

src/libbluray/bdj/bdj.c:126: Error opening registry key SOFTWARE\JavaSoft\Java Runtime Environment\ src/libbluray/bdj/bdj.c:689: BD-J check: Failed to load JVM library
This key exists though and I can read it without any problems using e.g. PowerShell:

Code: Select all

PS C:\Users\Nimelrian> Get-Item -Path 'Registry::HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment\' Hive: HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft Name Property ---- -------- Java Runtime Environment CurrentVersion : 1.8 BrowserJavaVersion : 11.181.2


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 27 guests