Dedicated to Oracle EPM (Hyperion) on-premises infrastructure topics, such as upgrading, patching and troubleshooting.
Wednesday, January 8, 2020
EPM 11.2 References to Java 6 Not Completely Eradicated
Without further ado:
\Oracle\Middleware\EPMSystem11R1\common\config\11.1.2.0\setJavaRuntime.bat
if exist "%EPM_ORACLE_HOME%\..\jdk160_35" (
set JAVA_HOME=%EPM_ORACLE_HOME%\..\jdk160_35
if exist "%EPM_ORACLE_HOME%\common\JRE\Sun\1.6.0" goto okSetJRE160
\Oracle\Middleware\EPMSystem11R1\common\RMI\11.1.2.0\InstallHyperionNTServiceRMI.bat
set JVM_HOME=%EPM_ORACLE_HOME%\common\JRE\Sun\1.6.0\bin\client
\Oracle\Middleware\EPMSystem11R1\products\FinancialManagement\Utilities\MetadataMerge\MetadataMerge.bat
set JAVA_HOME=%EPM_ORACLE_HOME%\..\jdk160_35
-----------------
Now let's pick this apart a little.
%EPM_ORACLE_HOME%\..\jdk160_35 does not exist in EPM 11.2. The setJavaRuntime.bat script thus fails over to the Sun 1.6.0 JRE instead.
%EPM_ORACLE_HOME%\common\JRE\Sun\1.6.0\bin\client does exist in EPM 11.2. In the same JRE\Sun folder there's also a subdirectory for Java 8 in 11.2. In the case of InstallHyperionNTServiceRMI.bat, however, we can't just swap out the reference to 1.6.0 to Java 8, as if you look closely at the script, all it wants from the Sun JRE (I believe) is jvm.dll, which resides within a slightly different subfolder.
For some of my customers, the presence of %EPM_ORACLE_HOME%\common\JRE\Sun\1.6.0 will present a problem. Their IT shops run vulnerability scanners that seek out all occurrences java.exe considered to be vulnerable.
It ought to be OK to swap out the references to jdk160_35 with jdk1.8.0_181, but I haven't had time to fully regression test this. In 11.1.24, we'd swap jdk160_35 with a generically named jdk7, so as to reduce further script maintenance when the quarterly Java patches come out. I'm inclined to do the same thing for jdk8, but there are many other things to look into before I pull the trigger on that (Windows Registry, deployment scripts, etc...)
2 comments:
Thank you very much for your interest in this blog! I hope you're finding it helpful.
Please keep comments relevant to the topic in the post, as this blog is not a free-for-all substitute for Oracle Support or traditional consulting. If you have many questions unrelated to the specific topic at hand, consider contacting me on LinkedIn (https://www.linkedin.com/in/daveshay) so we may discuss the possibility of consulting.
Commenting on posts older than 90 days unfortunately goes into moderation, thanks to spammers who've been hitting this blog. Please have patience, and thanks for your understanding!
Comments including URLs linking back to gambling or other things unrelated to Oracle EPM will be deleted on sight. If you're an EPM consultant and are offering me constructive criticism or a tip, go ahead and DO link back to your blog or firm's website if you so desire.
Thanks again for reading!
Hi Dave,
ReplyDeleteAll the Essbase clients are searching for Java 6 folders in the installed directory. Even in the FDMEE process log, there is a line saying "The JavaHome is set to %EPM_ORACLE_HOME%\..\jdk160_35"
Very disappointing that they didn't couldn't get JDK6 references removed. It should be safe to manually clean up I would expect though.
ReplyDelete