Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Will a Java Applet in Java 1.6.0_23 work through a 10.1.2.0.2 Form?

user49914949919675123Dec 13 2010 — edited Feb 9 2011
We are trying to use this Persian pop up calendar Java applet (http://joyds1.joensuu.fi/calendar/index.html).

This applet was developed using Java 1.6. It compiles through the command line on Java 1.6.0_23.

Problem is the Forms we are using is 10.1.2.0.2 (i.e. 10g Rel. 2) which uses a JRE 1.4.2. Even our App Sever has a 1.4.2_06 JRE.

I created a form but using the .jar file but it does not work.

The form works for the getclientinfo.jar file.

Is there a way to upgrade the JRE of 10g Rel. 2 to Java 1.6 or is this not possible?

Comments

Sarah QA
hi

did you modify formsweb.cfg?
if yes what did you modify?

sarah
François Degrelle
Hello,

If you Applet uses some 1.6 code, install the Sun plug-in 1.6 on your machine, then configure your /forms/server/formsweb.cfg file to use it at runtime..

Francois
user49914949919675123
Guys, Thanks for the quick reply.

Yes I modified the FormsWeb.cfg. I added the jar file to the archive_jini section.
François Degrelle
The archive_jini tag is dedicated to tha JInitiator, so the 1.3 plugin. If you use the Sun plugin - 1.4 to 1.6 - use the archive tag instead.

Francois
user49914949919675123
François Degrelle wrote:
Hello,

If you Applet uses some 1.6 code, install the Sun plug-in 1.6 on your machine, then configure your /forms/server/formsweb.cfg file to use it at runtime..

Francois
François, would be really grateful if you could tell me how to do this.

I installed java version "1.6.0_23" in my machine. So the 1.6 plug is in my machine now.

How to modify the formsweb.cfg to use this.

I went throught the .cfg but there are so many Java entries.

Is it jinit_mimetype? Do I have to replace jinit_mimetype=application/x-jinit-applet;version=1.3.1.22 with 1.6.0.23?

---------

I changed the following lines

jinit_mimetype=application/x-jinit-applet;version=1.6.0.23
jinit_exename=jinit.exe#Version=1,6,0,23
What to put for jinit_classid??

----------

Used jinit_classid=clsid:CAFEEFAC-0016-0000-0023-ABCDEFFEDCBA and ran. Now JInit uses 1.6 but I get this error when running.
http://www.freeimagehosting.net/uploads/195d1eee98.gif

Edited by: Channa on Dec 13, 2010 10:09 PM
527733
change this ...


jpi_classid=clsid:CAFEEFAC-0016-0000-0023-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,6,0,23
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_23

and run your form with config=jpi
user49914949919675123
FormsEleven wrote:
change this ...


jpi_classid=clsid:CAFEEFAC-0016-0000-0023-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,6,0,23
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_23

and run your form with config=jpi
Thanks guys.

This worked.
user12000798
We use the DirectPrint bean as explained in detail in http://forms.pjc.bean.over-blog.com/article-6621538.html with our Forms 10g Version 10.1.2.3.0. It works fine up to JRE 1.6.0_17. (I did not check update 18 and 19.)
But when we use JRE 1.6.0_20 or later, the signature check will hang. It asks whether the user trusts the program and wants to execute it, but since it then hangs, clicking on "execute" is not possible. (The Oracle Forms Runtime has to be killed in Windows task manager.)

Amazingly, the application runs perfectly after importing the necessary 3 certificates (as files) into the certificate store. (Since the certificates are already in the folder "trusted certificates", the signature check question screen is not shown in this case.)

Since we would not like to force users to import certificates as files to the client, we would be happy to fix this.

Does anybody have an explanation or cure for this? Why does it occur with JRE 1.6.0_20 or later?
CraigB
@user12000798,
Welcome to the Oracle Forums. Please take a few minutes to review the following:
<ul>
<li>Before posting on this forum please read
<li>10 Commandments for the OTN Forums Member
<li>Announcement: Forums Etiquette / Reward Points
</ul>
It is considered poor etiquette to ask a question on someone else’s thread. Please post your question in your own thread and reference this thread if your question is related.

Craig B-)

If someone's response is helpful or correct, please mark it accordingly.
user12000798
The answer was given in

9354900
1 - 10
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Mar 9 2011
Added on Dec 13 2010
10 comments
287 views