Configure JRE for forms 10g


Oracle Jinitiator is no longer compatible with oracle forms services. By default, Oracle Forms services 10g uses Jinitiator 1.3.1.22 to run Forms applications. Jinitiator was compatible with Internet Explorer 6 and Firefox version 2.0. But latest internet explorer like IE 8 and 9 crash with Jinitiator. Similar behaviour is seen with Firfox version 3.0 and later.

To resolve this problem, you must configure JRE to work with forms services 10g. It is really easy and requires only very little work. Forms services 10g are by default configured to run with JRE 1.4.2_06. To get this working, locate following lines in your FORMSWEB.CFG file,

# System parameter: default base HTML file
baseHTML=base.htm
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=basejini.htm
# System parameter: base HTML file for use with Sun’s Java Plug-In
baseHTMLjpi=basejpi.htm
Make changes as shown in bold face below.
# System parameter: default base HTML file
baseHTML=basejpi.htm
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=basejpi.htm
# System parameter: base HTML file for use with Sun’s Java Plug-In
baseHTMLjpi=basejpi.htm

And add below parameters

jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06

Now install J2RE version 1.4.2_06  from following URL,

http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase14-419411.html#j2re-1.4.2_06-oth-JPR

Configuring Auto Download of JRE at Client

——————————————————————————————————————–

You can configure automatic download of JRE at client using following steps. In IE, it will automatically download JRE and initiates install process but in Firefox, user will be required to click on “Manual Install” button.

1- Copy required exe file in a virtual directory on forms server. You can create a new virtual directory or use an existing virtual directory. For example, you can place you .exe file in /forms/java folder

2- Edit jpi_download_page and jpi_codebase parameters as under,
jpi_download_page=http://servername:port/forms/java/jre-6u23-windows-i586.exe
jpi_codebase=http://servername:port/forms/java/jre-6u23-windows-i586.exe

Above setting is for JRE6u23.

Alternately you can also specify download location from oracle website as under,

jpi_download_page=http://java.sun.com/update/1.6.0/jinstall-6u23-windows-i586.cab

jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u23-windows-i586.cab

for complete list of URL for all JRE version, visit following URL

http://java.sun.com/update/1.6.0/jinstall-6u23-windows-i586.cab

Above settings were test on Forms 10.1.2.0.2

 

Advertisements

About Sher khan

Senior Oracle DBA, Oracle 10g , Oracle 11g OCE ,Oracle 12C and Oracle 11g OPN certified Specialist, OCP Certified in Oracle 9i,10g , 11g and 12C. I am working in Oracle technology since 2004. Currently working in U.A.E Email: sher487@hotmail.com
This entry was posted in Oracle Application server. Bookmark the permalink.

2 Responses to Configure JRE for forms 10g

  1. Mohankumar says:

    Thanks for this topics.Its worked me well.I configured as you mentioned.I am using this URL to access the form in my server system “http://prod_server:8889/forms/frmservlet?config=sepwin” its working well.But I installed J2RE version 1.4.2_06 in my client system which is also exists in the same network.And I used the URL :http://prod_server:8889/forms/frmservlet?config=sepwin but is not working.The prod_server is the name of the server where the developer suite 10 g and forms services installed and configured.What is the problem seems to be?.Please tell me how to access the form from in my all the network machines from the server.

  2. Fawad says:

    I need to run the Oracle form application 10.1.2.0.2 from a Windows 7 client so I tried to apply these changes to file formsweb.cfg as mentioned above but i still receive error message that Jinitiator is too low please install 1.1.8.2 or higher. however there is already a Jinitiator 1.3.1.22 installed on that pc.

    I was assuming after making above changes it will just use JRE and should not look for JInitiator.

    Any help please?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s