0 Replies Latest reply on Jul 3, 2018 4:59 AM by 0dcdd942-ee02-4891-97b2-7192c9f711a4

    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.

              <title>Minecraft Applet</title>
              <homepage href="https://minecraft.net/"/>
              <jar href="https://s3.amazonaws.com/MinecraftDownload/classic/minecraft.jar" main="true"/>
              <jar href="https://s3.amazonaws.com/MinecraftDownload/lwjgl.jar"/>
              <jar href="https://s3.amazonaws.com/MinecraftDownload/lwjgl_util.jar"/>
              <jar href="https://s3.amazonaws.com/MinecraftDownload/jinput.jar"/>
              <nativelib href="https://s3.amazonaws.com/MinecraftDownload/windows_natives.jar"/>
          <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"/>


      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$1.run(Unknown Source)

          at java.lang.Thread.run(Unknown 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?