Home » Developer & Programmer » Forms » how to use Java instead Jinitiator
how to use Java instead Jinitiator [message #451907] Sun, 18 April 2010 19:22 Go to next message
Only-Oracle
Messages: 53
Registered: June 2009
Member
Hi everybody

I'm facing a problem in my current Operating System Windows 7 that I installed Oracle DB and Developer suite Ver "10.1.2.0.2" and I tried to install Jinitiator latest one that version jinit13130 and with no success to be installed even I copied the jvm.dll from latest Java to initiator directory and still didn't work. I even tried to disable Add-ons and still didn't work.

I heard that I have to use Java instead than Jinitiator I did as is mentioned in this page
http://fdegrelle.over-blog.com/article-4135746-6.html and also in this documentatin pdf but still with no avail. In the website is mentioned that I have to put in the forms formsweb.cfg to add these thing

"instead of the archive_jini tag, use the archive tag
archive=frmall.jar,...,my_jar.jar"
I found that my_jar.jar is not in any folder so I escaped this file from the line and only mentioned frmall.jar. and I did the rest but still didn't work, by the way I received this message when I run a form "FRM-10142: the http listener is not running on Candy-PC at port 8890. please start the listener or check your runtime preferences".


reference that I also check is this page
http://www.orafaq.com/forum/index.php/m/442273/0/

could anyone help me please to overcome this problem.


I attached a copy of formsweb.cfg
  • Attachment: formsweb.txt
    (Size: 9.90KB, Downloaded 1160 times)
Re: how to use Java instead Jinitiator [message #451957 is a reply to message #451907] Mon, 19 April 2010 04:17 Go to previous messageGo to next message
kojot
Messages: 27
Registered: December 2009
Location: Poland
Junior Member
Did you start the OC4J Instance ? The default port is 8889, maybe you should correct your link address ?
Re: how to use Java instead Jinitiator [message #452064 is a reply to message #451907] Mon, 19 April 2010 19:15 Go to previous message
Only-Oracle
Messages: 53
Registered: June 2009
Member
thanks Mr.Kojot for your reply, it's a kind of you to reply to me.


Alright, I did changed the syntax that is in the runtime Application Server to this "http://Canady-PC:8889/forms/frmservlet?config=jreconfig" and now the message disappeared and when I run the forms it shows to that want to download this file jinstall-1_4-windows-i586.cab and when I said install it gave me a message that

You are running the following platform: Windows 7 Ultimate. This Java platform works best on the following platforms:
Windows NT, 2000, 98, ME, XP

and I stopped the installation until I inform you and take your consultant about what should I do here.

By the way, I took off these line from formsweb.cfg as you can see it in my first post that I attached.
[javaplugin]
baseHTMLJInitiator=basejpi.htm
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
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,6,0,0
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384

[jpi]
baseHTMLJinitiator=basejpi.htm
jpi_classid=clsid: CAFEEFAC-0016-0000-0007-ABCDEFFEDCBA
jpi_mimetype=application/x-java-applet;jpiversion=1.6.0
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_6_0-windowsi586.cab#Version=1,6,0,07

##########################################################################

and I modified the formsweb.cfg with these new lines, I'm not using the webutil yet so I changed the bashtmljinitiator with = basejpi.htm
[jreconfig]
baseHTMLJInitiator=basejpi.htm
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_09/index.html
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
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
archive=frmall.jar

##############################################################

I think this line I have to modified with new version that suite my Windows 7 OS to work fine, so What should I have to modify this line with.
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,0

Thanks for your reply.

Thanks again
[EDITED by DJM: add keyword: windows seven windowsseven]

[Updated on: Wed, 21 April 2010 23:57] by Moderator

Report message to a moderator

Previous Topic: Forms 11g and exec_sql
Next Topic: Re: Create Macro in Excel with OLE2
Goto Forum:
  


Current Time: Fri Sep 20 09:33:28 CDT 2024