This page looks best with JavaScript enabled

Making Oracle Forms Use JRE instead of Jinitiator

 ·   ·  ☕ 2 min read  ·  ✍️ Sathyajith Bhat · 👀... views

By default, Oracle Forms Application Server serves Oracle Forms applications using the built-in Jinitiator JVM. While JVM works swell with cutting edge browsers1 it pretty much crashes most of the other browsers2 and doesn’t work at all in Chrome. There are workarounds but the workarounds do not play well while working with multiple tabs.

Here’s a simple way to make the Application Server serve Oracle Forms Applications using JRE rather than the Jinitiator. Please remember to take a backup of your existing files!

Locate your formsweb.cfg file. It should be in $oracle_home/forms/server directory. Add the below lines to the section corresponding to your config= setting.


Here’s a brief explanation of each of these terms:

  • jpi_classid – The ClassID of the Sun JVM to use (Internet Explorer specific). Should be set to clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 for dynamic versioning or to clsid:CAFEEFAC----ABCDEFFEDCBA for static versioning
  • jpi_codebase – Download location of the CAB file for the Sun JVM (IE specific)
  • jpi_mimetype – JPI_MIMETYPE is a mime-type in a format like “application/x-java-applet;<version_type>=<implementation_version>”. For static versioning, <version_type> should be set to “jpi-version”. For dynamic versioning, this should be set to “version”.
  • jpi_download_page – This is the URL where Netscape/Firefox users can download the JRE.

Refer here for a detailed explanation of each of these terms. That’s about it. Reloading the application should result in the JRE kicking in, rather than Jinitiator. Also ensure any jar files that you have are digitally signed, else you will run into an warning about blocking unsigned jar files which might lead to a showstopper bug.

  1. IE6 []
  2. Firefox, IE7+ []
Share on

Sathyajith Bhat
Sathyajith Bhat
Author, AWS Community Hero and DevOps Specialist

What's on this Page