Roads ? - where we're going, we don't need roads ...
FRM-92095: Oracle Jnitiator version too low - please install version 1.1.8.2 or higher | ORA600
ORA600 content Content RSS
Oracle ORA600 News RRSS Oracle News RSS
ORA600 blog Blog RSS
ORA600 blog Blog Atom

User login

FRM-92095: Oracle Jnitiator version too low - please install version 1.1.8.2 or higher

A customer of mine who deploys Oracle Forms 10g  on the wild wild web, ran into a little problem.
They don't have control over the java plugin being installed on the client machine and with the latest java 1.7 update
they encountered the following forms error :

FRM-92095: Oracle Jnitiator version too low - please install version 1.1.8.2 or higher

Doh - we're running java 1.7 - not Oracle's obscure Jnitiator.

This seems to be a know issue on metalink see 
FRM-92095 Error When Running Forms Using JRE 7 (JRE 1.7) [ID 1348436.1]
A bug has been filed Bug:11782681 APPS6: FORMS DO NOT LAUNCH WITH BETA JRE 1.7

There's no patch yet(not even for the latest 11g Forms). And because Forms 10.1.2.x permier support
ended in December 2011... God only knows there will be a back-port. So for now - we're on our own !

However ... why does the Forms applet thinks it is running on an Oracle Jnitiator ?
Can it be that Java's vendor system property changed from 'Sun Microsystems Inc' to 'Oracle Corporation' ?

A little test program will show :
import java.util.* ;

class test
{
public static void main(String args[])
{
System.out.println("java.version =" + System.getProperty("java.version") ) ;
       System.out.println("java.vendor =" + System.getProperty("java.vendor") ) ;
}
}

On java 1.6:
java test
java.version =1.6.0_30
java.vendor =Sun Microsystems Inc.
On java 1.7:
java.version =1.7.0_02
java.vendor =Oracle Corporation

This property string for Java 1.6 and below is 'Sun Microsystems Inc' - starting from 1.7 it is 'Oracle Corporation'.
Oracle Jnitiator also used the vendor string 'Oracle Corporation'.
So - Forms now thinks it is running on an old jnitiator instead of the latest java 1.7 plugin.

I used a bootstrapper applet which sets the vendor property back to 'Sun Microsystems inc' like this :
- System.setProperty("java.vendor", "Sun Microsystems Inc.") ;
Then the applet(stub) loads Oracle Forms' main engine class.
- Class oforms = Class.forName("oracle.forms.engine.Main");
- init and start the Forms applet

I can't share the code nor class as the IP belongs to my employer but this fixed the problem and we can now run Forms on Java 1.7 !
The great part of this is - we don't touch the original frmall.jar, which is important if 3000 end users need a new jar downloaded over limited bandwidth ! 
Then, I went into a creative overdrive :-) 
In the spirit of the 80's and 90's atari and amiga demo scene I added an intro with plasma effect. 
Update - see also a very elegant workaround by Didier Marcelis in the comments (add -Djava.vendor="Sun Microsystems Inc.")
Update - if you are interested in the Forms bootstrapper (without plasma intro) - send me a mail.
Check out the flash screen capture I've made of the application loading :-)))
http://www.ora600.be/forms_java7swf.swf 
Update - it looks like there is a patch for forms 10g (bundle patch 10.1.2.3.2) that will solve the problem !
The patch number is 14825718 - and can be downloaded here.
One of the fixed bugs is 
#  11782681 - APPS6  FORMS DO NOT LAUNCH WITH BETA JRE 1.7
I have not yet installed and tested it - so if someone has - please leave a comment !

Technorati Tags:

Re

Haha - cool - thanks for testing that one Laughing

Changing Oracle Corporation

Changing Oracle Corporation in the frmall.jar causes it to error..

can you send me a working jar file

if your jar is signed

If your jar file is signed using a code signing certificate - you should re-jar it, edit it and sign it again...

 

Anyway - editing the jar file is ... not a very clean solution.

 cheers,

Kurt 

Changing Oracle Corporation

after using sign_webutil.bat to digitally sign the frmall.jar file..

 

I get error:  classnotfoundexception

classnotfoundexception

Make sure that you have re-jarred your jar file correctly.

When you do a jar -tvf frmall.jar - it should start with directory 'oracle/*' 

 

(I see a lot of mistakes when people unjar to a directory - for example 'frmall' - they create a new jar which include the top directory so you'll get frmall/oracle/.... - this way the jvm won't find the packages as they start with oracle.*)

hi, this is the way I use

hi, this is the way I use to resign jar files. I hope it helps:

mkdir tmp 

cp jarfile.jar tmp/

cd tmp

jdk/bin/jar -xvf jarfile.jar

rm -rf META-INF/

rm jarfile.jar

jar -cvf  jarfile.jar  *

jarsigner -keystore mykeystore.p12  -storetype pkcs12 -storepass ***** jarfile.jar "<Certificate Alias>"

if u use another keystore type just verify the options with  jarsigner's help

cp jarfile.jar ../

cd .. 

resign jarfiles

hi, this is the way I use to resign jar files. I hope it helps:

mkdir tmp 

cp jarfile.jar tmp/

cd tmp

jdk/bin/jar -xvf jarfile.jar

rm -rf META-INF/

rm jarfile.jar

jar -cvf  jarfile.jar  *

jarsigner -keystore mykeystore.p12  -storetype pkcs12 -storepass ***** jarfile.jar "<Certificate Alias>"

if u use another keystore type just verify the options with  jarsigner's help

cp jarfile.jar ../

cd .. 

IT WORKS

I got the new frmall.jar to work..

Thanks for all the help..

FRM-92095 Error When Running Forms Using JRE 7 (JRE 1.7 - Java 1

Hi Guys,

 

Can you send me your modified frmall.jar file?

 

Regards.

 

______________________
Celso José de Carvalho
DBA - Oracle
Fundação Pio XII - Barretos - SP - www.hcancerbarretos.com.br
E-mail: celso@hcancerbarretos.com.br
Fone: 55 17 3321 6628
Ramal: 6739

 

modifying jar file not recommended

 There is a new patch for forms 10.1.2.3 that solves this :

Bundle patch 2 is patch number 14825718 and one of the bug fixes is :

#  11782681 - APPS6  FORMS DO NOT LAUNCH WITH BETA JRE 1.7

Pls, send me your new

Pls, send me your new working frmall.jar file!!!

frmall.jar

How do you do? I can't make it work, and I have followed all the steps. ¿Could you send me the modified jar just to test and to compare with the one I have modified?.

 

Thanks.

 

Editing the Jar File

It sounds like some are having the same problem as I did.

You also need to edit the bit (I think that is the right term) before the entry.

I changed it from 12 to 15.

The Java Class File Editor was handy in figuring that this out: http://classeditor.sourceforge.net/.

 

 

Solution without editing JAR file

I found this link that explains clearly how to set the java.vendor string in the Java control panel so that Forms works in all browsers with Java 7:

https://support.sou.edu/index.php?/Knowledgebase/Article/View/128/23/how-to-fix-banner-error-frm-92025-oracle-jinitiator-version-too-low

For 64-bit systems, you must follow instructions and use a command prompt to run \Program Files (x86)\Java\jre7\bin\javacpl.exe.  Using the Control Panel approach does not work.




Howto's
See DUDE primer for info

Get Support

Europe

Belgium :
Kurt Van Meerbeeck
ORA600 bvba
E-mail
dude@ora600.be
Cell : +32 495 580714

Denmark :
Michael Môller
Service & Support Manager
Miracle AS
E-mail :
hra@miracleas.dk
Cell: +45 53 74 71 27


Latin America

Brazil :
HBtec
E-mail
dude@hbtec.com.br
Cell : +55 47 88497639
Contact


Africa

South Africa :
Kugendran Naidoo
NRG Consulting
E-mail
k@nrgc.co.za
Cell : +27 82 7799275