How to replace oracle JInitiator with other Native Java Virtual Machine?


--------------------------------------------------
1- Open forms\server\ formsweb.cfg
2- Search for [JPI] section. This section exists by default.
3- You now will add three new parameters (jpi_download_page, jpi_classid, jpi_codebase)
-------------------------------------------------
[jpi]
baseHTMLJInitiator=basejpi.htm
[MyApplication]
baseHTMLJInitiator=basejpi.htm
#archive=frmall.jar,frmall_jinit.jar,hst65.jar,icons.jar,frmwebutil.jar,jacob.jar
archive=frmall.jar,frmall_jinit.jar,hst65.jar,icons.jar,frmwebutil.jar,jacob.jar
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
# or you may use application server URL
#jpi_download_page= http://iai2.iai.org.kw:7778/forms/jinitiator/us/jinit_download.htm

jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0
-----------------------------------------
now copy this file "jre.exe" to the following location : /jinit
note: rename this file to jre.exe
Now go to application server home>/jinit/us and open the file jinit_download.htm with note pad and edit the reference of Oracle Jinitiator to Sun jre as shown in then image




For further readings you may read Forms9i or forms10g Configurations
----------------------------------------------
updates: for windows 7 and 2008 ,XP
First, the URL you have is incorrect. The correct codebase for 1.6.0_17 would be:

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

A complete list (mostly complete) can be found on the Sun website here:

http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/autodl-files.html

This page is generally (as far as I can tell) not updated until new patch releases go out. Since _17 was a security update and not a complete patch release, the page will not show _17 yet.

Second, if you are planning to use Sun 1.6.0_xx, be sure you are using Forms 10.1.2.3 or newer.


jpi_download_page=http://java.sun.com/javase/downloads/index.jsp
jpi_classid=clsid:CAFEEFAC-0016-0000-0017-ABCDEFFEDCBA
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6u17-windows-i586.cab#Version=1,6,0,17
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_17


Comments

Popular posts from this blog

Another user has changed the row with primary key oracle.jbo.Key[12 ].

Working With File Throgh WebUtill

weblogic windows JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException: Failed to lock cwallet.sso.lck