Forum Discussion

kinx28's avatar
kinx28
New Contributor
12 years ago

Unable to start LoadUI 2.1.0

Hi All


everytime i start the LoadUI 2.1.0, it prompt the
"Unable to load resource: http://dl.javafx.com/1.3/javafx-rt.jnlp"

Appreciate someone can help me to overcome on this. i tried multiple version of JAVA already.

the O/S is window 2008 standard 64bits.

here's the error log


<jnlp spec="1.0+" codebase="file:." href="loadUI.jnlp">
<information>
<title>loadUI</title>
<vendor>eviware</vendor>
<homepage href="http://www.loadui.org/"/>
<description>loadUI</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.7" java-vm-args="-Xms256m -Xmx768m -XX:MaxPermSize=128m -Dsun.java2d.noddraw=true"/>
<extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/>
<jar href="lib/loadui-launcher.jar" main="true"/>
<jar href="lib/org.apache.felix.main.jar"/>
<jar href="lib/commons-cli.jar"/>
<jar href="lib/bndlib.jar"/>
</resources>
<security>
<all-permissions/>
</security>
<application-desc main-class="com.eviware.loadui.launcher.LoadUILauncher"/>
<update check="timeout" policy="always"/>
</jnlp>d

15 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    vlaugier wrote:
    Hi Henrik,

    What did you do to fix that ? we have the same problem on our home made software.

    Thanks in advance for your help

    Hi!

    We used to start LoadUI using loadui.jnlp, that referenced Oracle's JavaFX JNLP. To solve the problem, we made loadui.jnlp reference our own modified version of Oracle's JNLP instead (found at http://www.loadui.org/javafx.jnlp).
  • prarall1981: As far as I know, this issue was fixed with the release of LoadUI 2.1.2.
  • raosaheb's avatar
    raosaheb
    Occasional Contributor
    I solved this problem.
    Do follwing Steps:
    1. Download manually javafx-rt.jnlp file and place it in loadUI installation folder (ie.C:\Program Files\SmartBear\loadUI-2.1.1)
    2. Open loadUI.jnlp file. This file already present in your installation folder. Edit this file by changing the line
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.3/javafx-rt.jnlp"/> with <extension name="JavaFX Runtime" codebase="file:." href="javafx- rt.jnlp"/>
    3. Open javafx-rt.jnlp file and check what are the jars required according to your OS and download that jars manually.
    4. Place downloaded jars into lib folder (ie. C:\Program Files\SmartBear\loadUI-2.1.1\lib)
    Ex. Windows require following jar files
    i. javafx-rt-windows-i586__V1.3.1_b101.jar
    ii. javafx-rt-lazy-windows-i586__V1.3.1_b101.jar
    iii. javafx-rt-fonts-windows-i586__V1.3.1_b101.jar
    iv. javafx-rt-natives-windows-i586__V1.3.1_b101.jar
    v. jmc-natives-windows-i586__V1.3.1_b101.jar
    5. Now edit javafx-rt.jnlp with following code.
    This code is for windows OS

    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" version="1.3.1_b101" codebase="file:." href="javafx-rt.jnlp">
    <information>
    <title>JavaFX Runtime</title>
    <vendor>Oracle Corporation</vendor>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <update check="background"/>

    <resources>
    <jar href="lib/progressbar__V1.3.1_b101.jar"/>
    </resources>

    <resources os="Windows">
    <jar href="lib/javafx-rt-windows-i586__V1.3.1_b101.jar"/>
    <jar href="lib/javafx-rt-lazy-windows-i586__V1.3.1_b101.jar"/>
    <jar href="lib/javafx-rt-fonts-windows-i586__V1.3.1_b101.jar"/>
    </resources>

    <resources os="Windows" arch="x86">
    <nativelib href="lib/javafx-rt-natives-windows-i586__V1.3.1_b101.jar"/>
    <nativelib href="lib/jmc-natives-windows-i586__V1.3.1_b101.jar"/>
    </resources>

    <resources os="Mac OS X">
    <jar href="javafx-rt-macosx-universal__V1.3.1_b101.jar" size="1229513" part="javafx-rt" download="eager"/>
    <jar href="javafx-rt-lazy-macosx-universal__V1.3.1_b101.jar" size="221529" part="javafx-rt" download="lazy"/>
    <jar href="javafx-rt-fonts-macosx-universal__V1.3.1_b101.jar" size="155282" part="javafx-rt" download="lazy"/>
    </resources>

    <resources os="Mac OS X" arch="ppc">
    <nativelib href="javafx-rt-natives-macosx-universal__V1.3.1_b101.jar" size="486786" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Mac OS X" arch="i386">
    <nativelib href="javafx-rt-natives-macosx-i386__V1.3.1_b101.jar" size="224644" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Mac OS X" arch="x86_64">
    <nativelib href="javafx-rt-natives-macosx-x86_64__V1.3.1_b101.jar" size="243787" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Linux">
    <jar href="javafx-rt-linux-i586__V1.3.1_b101.jar" size="1089958" part="javafx-rt" download="eager"/>
    <jar href="javafx-rt-lazy-linux-i586__V1.3.1_b101.jar" size="221638" part="javafx-rt" download="lazy"/>
    <jar href="javafx-rt-fonts-linux-i586__V1.3.1_b101.jar" size="155272" part="javafx-rt" download="lazy"/>
    </resources>

    <resources os="Linux" arch="i386">
    <nativelib href="javafx-rt-natives-linux-i586__V1.3.1_b101.jar" size="422337" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="Linux" arch="x86">
    <nativelib href="javafx-rt-natives-linux-i586__V1.3.1_b101.jar" size="422337" part="javafx-rt" download="eager"/>
    </resources>

    <resources os="SunOS">
    <jar href="javafx-rt-solaris-i586__V1.3.1_b101.jar" size="1079380" part="javafx-rt" download="eager"/>
    <jar href="javafx-rt-lazy-solaris-i586__V1.3.1_b101.jar" size="221687" part="javafx-rt" download="lazy"/>
    <jar href="javafx-rt-fonts-solaris-i586__V1.3.1_b101.jar" size="155270" part="javafx-rt" download="lazy"/>
    </resources>

    <resources os="SunOS" arch="x86">
    <nativelib href="javafx-rt-natives-solaris-i586__V1.3.1_b101.jar" size="189894" part="javafx-rt" download="eager"/>
    </resources>
    <component-desc progress-class="com.javafx.progressbar.ProgressManager"/>
    </jnlp>

    (NOTE: u have to change the resources tag according to your OS)

    6. Now start loadUI app.

    Regards,
    Raosaheb