Search code examples
javajnlpjava-web-start

java - Jnlp Could not parse launch file. Error at line 0


The JNLP fails to launch and gives the error "Could not parse launch file. Error at line 0."

Here is the file

<?xml version="1.0" encoding="utf-8"?> 
<jnlp spec="1.0+" codebase="http://192.168.102.95:8080/aasweb/" href="PdaSynch.jsp">
    <information>
        <title>Pda Synch</title>
        <vendor>Amplex</vendor>
        <homepage href="http://192.168.102.95:8080/" />
        <description>Pda Synch</description>
    </information>
    <security>
        <all-permissions/>
    </security>
    <resources>
        <j2se version="1.6+" />
        <jar href="PdaSynch.jar" />
    </resources>

    <application-desc main-class="com.amplex.pda.ProcessPDAFiles" name="pdaSynch">
        <argument>user12</argument>
    </application-desc>
</jnlp>

Solution

  • I solved it, I removed href="PdaSynch.jsp" attribute from jnlp tag