Tuesday, March 16, 2010

How to run Oracle Forms on Sun JRE

Running Oracle Form Application on Sun JRE instead of Oracle Jinitiator

Configuring Sun JVM 1.6.0_18 to run Oracle Applications. (MicroSoft Windows)





Download Sun latest JRE  version from : Sun Website 
(In this configuration i am using JRE 1.6.0_18 and forms webutility already configured)

Install JRE by double clicking and follow the steps.


Configure your formsweb.cfg file and add new config:  (IE browser only)
(AS_HOME)\forms\server\formsweb.cfg or (Devsuite_HOME)\forms\server\formsweb.cfg


[employee]
form=c:\employee.fmx
lookAndFeel=oracle
colorScheme=Olive
baseHTMLjinitiator=webutiljpi.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
WebUtilArchive=frmwebutil.jar,jacob.jar
jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
jpi_mimetype=application/x-java-applet;jpiversion=1.6.0
archive=frmall.jar,share.jar,OracleSigning.jar




Note: jpi_classid, jpi_mimetype variables must be set as mentioned to run Sun JVM properly, also add share.jar file in archive variable, all jar files must be signed.

1 comment:

Anonymous said...

How do you sign the Jar files properly?

Do you have any trouble-shooting guides or FAQs on signing the Jar files?