Select Page

EPM 11.2 References to Java 6 Not Completely Eradicated

Dave Shay | | January 27, 2020

While troubleshooting why Planning RMI Registry won’t bind to port 11333 and throws a “could not find the service start class” error in the Windows Event Viewer, I did some digging and noticed several places where either jdk160_35 or JRE\Sun\1.6.0 are still referenced. This might not be my problem, but it led to some interesting research.

 
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. 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…)

Subscribe to Our Blog

Never miss a post! Stay up to date with the latest database, application and analytics tips and news. Delivered in a handy bi-weekly update straight to your inbox. You can unsubscribe at any time.

Oracle EPM Cloud Vs. On-Premises: What’s the Difference?

EPM applications help measure the business performance. This post will help you choose the best EPM solutions for your organization’s needs and objectives.

Bobby Ellis | April 10, 2018

Oracle Enterprise Data Management Cloud Service (EDMCS) is Here

Curious about Oracle’s new Enterprise Data Management Cloud Service? Get the full scoop in Datavail’s latest blog post.

Susan Rebner | March 20, 2018

EPM Cloud: Hyperion Planning vs. Oracle (E)PBCS

As 96 percent of organizations have found, moving to the cloud has a variety of advantages. This blog post will discuss the differences between Hyperion Planning and Oracle (E)PBCS.

Bobby Ellis | September 19, 2018

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.

CONTACT US

Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.

EXPLORE JOBS