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!

Forms 14 - Wrong jre selected at start up

SFrix5 days ago — edited 4 days ago

Hello,

We are configuring Forms 14c and we face an issue when application starts, it does not start the correct JRE.

Our context is:

  • Workstation with Java 1.8.0_191 as default + Java 1.8.0_441 dedicated for Forms 14 application.
  • Servers : Windows 2025, Forms 14c with latest patch set (July 2025).
  • (Tell me if you need more information)

With Forms12c, in formsweb.cfg, variable java_version is configured with java_version=1.8.0_241+
When we start Forms 12 application, the correct JRE is started, it is the JRE 1.8.0_441

Below the Console output with the two below lines showing the correct jre starts according what I setup in cfg file:

  • Using JRE version 1.8.0_441-b07 Java HotSpot(TM) 64-Bit Server VM
Java Plug-in 11.441.2.07
Using JRE version 1.8.0_441-b07 Java HotSpot(TM) 64-Bit Server VM
JRE expiration date: 15/06/25 00:00
console.user.home = C:\Users\seg
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
network: Created version ID: 1.5.0
network: Created version ID: 1.8.0
network: Created version ID: 1.8.0.441
network: Created version ID: 1.8
network: Created version ID: 1.8.0.441
cache: Cancel delay cleanup: URL: https://appfmk.com:443/forms/java/frmall.jarjnlp | C:\Users\seg\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\61\3eec8fd-4c8ffee3.idx
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@ba466ec3: 2
basic: XMLParser with _source:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0"
      xmlns:jfx="http://javafx.com"
      codebase="https://appfmk.com:443/forms/java/">
    <information>
        <title>Oracle Forms Services</title>
        <vendor>Oracle Corporation</vendor>
        <homepage href="http://www.oracle.com"/>
        <description>Oracle Forms Services with WebUtil applet launcher.</description>
        <description kind="short">Oracle Forms Applet with WebUtil</description>
    </information>
    <security>
        <all-permissions/>
    </security>
    <update check="always" policy="prompt-run"/>
    <resources>
        <!-- Application Resources -->
        <j2se version="1.8.0_241+" href="http://java.sun.com/products/autodl/j2se"/>
        <jfx:javafx-runtime version="2.2+"/>
        <jar href="/forms/java/frmall.jar" download="eager" main="true" />
        <jar href="/forms/java/frmwebutil.jar" download="lazy" main="false" />
        <jar href="/forms/java/FormsGraph.jar" download="lazy" main="false" />
        <jar href="/forms/java/HTMLEditorPro-signed.jar" download="lazy" main="false" />
        <jar href="/forms/java/jacob.jar" download="lazy" main="false" />
        <jar href="/forms/java/timeout.jar" download="lazy" main="false" />
        <extension name="Extensions" href="/forms/java/extensions.jnlp"/>
    </resources>
    <applet-desc
    name="Oracle Forms"
    main-class="oracle.forms.engine.Main"
    height="1"
    width="1">

With Forms14c, in formsweb.cfg, variable java_version is configured with java_version=1.8.0_241+ or java_version=1.8.0_441+
When we start Forms 14 application, the JRE 1.8.0_191 starts i/o 1.8.0_441 (see below lines):

  • Using JRE version 1.8.0_191-b12 Java HotSpot(TM) 64-Bit Server VM
Java Plug-in 11.441.2.07
Using JRE version 1.8.0_191-b12 Java HotSpot(TM) 64-Bit Server VM
JRE expiration date: 15/06/25 00:00
console.user.home = C:\Users\seg
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
network: Created version ID: 1.5.0
network: Created version ID: 1.8.0
network: Created version ID: 1.8.0.191
network: Created version ID: 1.8
network: Created version ID: 1.8.0.191
cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@69075488: 4
basic: XMLParser with _source:
<?xml version="1.0" encoding="UTF-8"?>
<!-- This file will be REPLACED if you reinstall Oracle Forms, so   -->
<!-- you are advised to make your own version if you want to make   -->
<!-- any modifications.  You should then set the basejnlp parameter -->
<!-- in the Forms Servlet configuration file (formsweb.cfg) to      -->
<!-- point to your new file instead of this one.                    -->
<jnlp spec="1.0"
      xmlns:jfx="http://javafx.com"
      codebase="http://appfmk.com:9001/forms/java/">
    <information>
        <title>Oracle Forms Services</title>
        <vendor>Oracle Corporation</vendor>
        <homepage href="http://www.oracle.com"/>
        <description>Oracle Forms Services with WebUtil applet launcher.</description>
        <description kind="short">Oracle Forms Applet with WebUtil</description>
    </information>
    <security>
        <all-permissions/>
    </security>
    <update check="always" policy="prompt-run"/>
    <resources>
        <!-- Application Resources -->
        <java version="1.8.0_241+"/>
        <jfx:javafx-runtime version="2.2+"/>
        <jar href="/forms/java/frmall.jar" download="eager" main="true" />
        <jar href="/forms/java/frmwebutil.jar" download="lazy" main="false" />
        <jar href="/forms/java/FormsGraph.jar" download="lazy" main="false" />
        <jar href="/forms/java/HTMLEditorPro-signed.jar" download="lazy" main="false" />
        <jar href="/forms/java/jacob.jar" download="lazy" main="false" />
        <jar href="/forms/java/timeout.jar" download="lazy" main="false" />
        <extension name="Extensions" href="/forms/java/extensions.jnlp"/>
		<property name="jnlp.delete.jnlp.file" value=""/>
    </resources>
    <applet-desc
    name="Oracle Forms"
    main-class="oracle.forms.engine.Main"
    height="1"
    width="1">                                               

I checked several time my config, it is similar in F14 than in F12.
So if anyone has an idea, it's welcome, because I don't know what to check anymore. 🙏

Thanks in advance.

Seb.

Annex: Installed JRE

Comments
Post Details
Added 5 days ago
2 comments
64 views