Forum Stats

  • 3,757,778 Users
  • 2,251,265 Discussions


What is wrong with my JNLP file?

Below is the exact code in my JNLP file. It is intended to start the Minecraft Classic game.

<jnlp>    <information>        <title>Minecraft Applet</title>        <vendor>Mojang</title>        <homepage href=""/>    </information>    <security>        <all-permissions/>    </security>    <resources>        <jar href="" main="true"/>        <jar href=""/>        <jar href=""/>        <jar href=""/>        <nativelib href=""/>    </resources>    <applet-desc name="Minecraft Applet" main-class="com.mojang.minecraft.MinecraftApplet" width="854" height="480">        <param name="username" value="MinecraftPlayer"/>        <param name="sessionid" value="SessionID"/>    </applet-desc></jnlp>

This seems to have all of the parts that it needs to have to get the applet working. But there's one problem. When I doubleclick the JNLP file to run it, it doesn't work, and this is the error message shown in the console:


    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)

    at com.sun.javaws.Launcher.launch(Unknown Source)

    at com.sun.javaws.Main.launchApp(Unknown Source)

    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

    at com.sun.javaws.Main.access$000(Unknown Source)

    at com.sun.javaws.Main$ Source)

    at Source)

Can somebody here explain exactly what is causing this problem? Is this specific error message a common one experienced by newbies like myself, when they try to launch an applet with a JNLP file?

This discussion has been closed.