Hire me on UpWork

Saturday, December 10, 2016

How to run Oracle Forms 10g with Java Web Start (Run Oracle Forms Application without Browser)

As salamualikum (islamic greetings), brothers and sisters. :)

  Hope you are well with the grace of Almighty Allah (swt).

 

If you want to start oracle application without web browser then without third party solution, you have option to run application with Java Web Start(javaws.exe)

For Oracle Forms Application version 10g(10.1.2.3), it’s about few little steps of configuration.
Follow the bellow steps to configure
1.       You need to install JRE first then Java web start will automatically be installed.
2.       Then create a JNLP file at <oracle_dev/app_home>\j2ee\home\default-web-app
give name webstart_10gl with the following code

<jnlp spec="1.0+" codebase="http://localhost:7778/forms/java/">
  <information>
    <title>Webstart Test Oracle Forms 10g</title>
    <vendor>hamid-oracle.blogspot.com</vendor>
    <homepage href="null"/>
    <description>Webstart Test Oracle Forms 10g</description>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="timeout" policy="always"/>
  <resources>
    <java version="1.6.0"/>
    <jar href="frmall.jar" download="eager" main="true"/>

<!—If you have more jar file add it bellow, all see a list bellow -->

       <jar href="icons.jar" download="eager" main="true"/>
       <jar href="frmwebutil.jar" download="eager" main="true"/>
       <jar href="looks-2.0.1.jar" download="eager" main="true"/>
       <jar href="jcalendar-1.3.2.jar" download="eager" main="true"/>
       <jar href="FJCalendar.jar" download="eager" main="true"/>
       <jar href="jacob.jar" download="eager" main="true"/>
  </resources>
  <applet-desc name="Webstart Test Oracle Forms 10g" main-class="oracle.forms.engine.Main" width="990" height="668">
    <param name="background" value="no"/>
    <param name="logo" value="no"/>
    <param name="serverApp" value="default"/>
    <param name="lookAndFeel" value="oracle"/>
    <param name="allow_debug" value="true"/>
    <param name="separateFrame" value="false"/>
    <param name="em_mode" value="1"/>
    <param name="latencyCheck" value="true"/>
    <param name="networkRetries" value="240"/>
    <param name="serverArgs" value="module=LOGIN.fmx useSDI=yes"/>
    <param name="serverURL" value="http:// localhost:7778/forms/frmservlet?ifcfs=http:// localhost:7778/forms/frmservlet?config=ENVTX"/>
    <param name="colorScheme" value="teal"/>
    <param name="splashScreen" value="no"/>
    <param name="dontTruncateTabs" value="true"/>
  </applet-desc>
</jnlp>

3.      

Now create a shortcut of the file (webstart_10gl) in the desktop and make sure it’s General Tab “Open with Java(TM) Web Start Launcher” same as bellow image.


4.       Now double click the shortcut and play with application.
Please not, all of your jar file must signed by same Signature.

Thanks for reading the post and congratulation on your success.

 

4 comments:

  1. how to run java form from client computer

    ReplyDelete
  2. when i open file get error
    frm-93243: static html is not allowed

    ReplyDelete
  3. webutil is not working infact application is given error

    ReplyDelete