Error installing Confluence. I get an error when I try and run the Confluence installer: Could not use bundled JRE. Please send this log file to your software vendor: log:c:\users\administrator\appdata\local\temp\2\i4j_nlog_6
Asked by Jeff Hughes:

Can someone shed some light on this? The error message is:

Could not use bundled JRE. Please send this log file to your software vendor:

log: c:\\users\\administrator\\appdata\\local\\temp\\2\\i4j_nlog_6

Any suggestions?


Answers:
author: Nic Brough -Adaptavist-
body: I'd have a look at the log file it has created - that might tell you what is wrong.

comments: author: Jeff Hughes
body: JRE dir: C:\\Users\\ADMINI\~1.DB\\AppData\\Local\\Temp\\2\\e4jDCF0.tmp_dir\\jre  
LoadDLL (0, C:\\Users\\ADMINI\~1.DB\\AppData\\Local\\Temp\\2\\e4jDCF0.tmp_dir\\jre, 0)  
Got JRE location C:\\Users\\ADMINI\~1.DB\\AppData\\Local\\Temp\\2\\e4jDCF0.tmp_dir\\jre (java exe: 0)  
MinVersion: 1.8, MaxVersion:   
Trying to load JVM-DLL from c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\java.exe  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\hotspot\\jvm.dll (exists 0)  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\client\\jvm.dll (exists 0)  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\server\\jvm.dll (exists 1)  
Failed with error code 193  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\classic\\jvm.dll (exists 0)  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\jrockit\\jvm.dll (exists 0)  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\..\\jre\\bin  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\..\\jre\\bin\\hotspot\\jvm.dll (exists 0)  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\..\\jre\\bin\\client\\jvm.dll (exists 0)  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\..\\jre\\bin\\server\\jvm.dll (exists 0)  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\..\\jre\\bin\\classic\\jvm.dll (exists 0)  
Trying c:\\users\\admini\~1.db\\appdata\\local\\temp\\2\\e4jdcf0.tmp_dir\\jre\\bin\\..\\jre\\bin\\jrockit\\jvm.dll (exists 0)  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\  
ERROR: Could not get DLL-Handle.  
ERROR: Could not load functions  
ERROR: Could not load bundled JRE. Trying to find another JRE.  
LoadDLL (0, (null), 0)  
Searching for a JVM  
GetTempPath returned 42 (last error 3)  
make dir returned -1  
Testing location (type Y)  
checkJavaExe (C:\\Program Files\\Java\\jre1.8.0_101\\bin\\java.exe, \[out\], 1.8, , 0)  
file exists  
got version from registry 1.8.0_101  
checkJavaExe returning 1  
found sun c:\\program files\\java\\jre1.8.0_101\\bin\\java.exe 1.8.0_101  
Trying to load JVM-DLL from c:\\program files\\java\\jre1.8.0_101\\bin\\java.exe  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\program files\\java\\jre1.8.0_101\\bin  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\hotspot\\jvm.dll (exists 0)  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\client\\jvm.dll (exists 0)  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\server\\jvm.dll (exists 1)  
Failed with error code 193  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\classic\\jvm.dll (exists 0)  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\jrockit\\jvm.dll (exists 0)  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\program files\\java\\jre1.8.0_101\\bin\\..\\jre\\bin  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\..\\jre\\bin\\hotspot\\jvm.dll (exists 0)  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\..\\jre\\bin\\client\\jvm.dll (exists 0)  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\..\\jre\\bin\\server\\jvm.dll (exists 0)  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\..\\jre\\bin\\classic\\jvm.dll (exists 0)  
Trying c:\\program files\\java\\jre1.8.0_101\\bin\\..\\jre\\bin\\jrockit\\jvm.dll (exists 0)  
Setting PATH C:\\Program Files\\Internet Explorer;;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\  
ERROR: Could not get DLL-Handle.  
ERROR: Could not load functions  
ERROR: Could not find another JRE.


author: Jeff Hughes
body: Can you see what the problem is from the log?


author: Nic Brough -Adaptavist-
body: Yes. You're either running a virus scanner that is getting in the way, or you're trying to install Confluence 5.8.16 which has a stinking bug in it - see <https://jira.atlassian.com/browse/CONF-39852>


Tags: confluence-administration