Webstart problem

the error above is


Version mismatch: jar version is '11', native libary version is '12'



you need to ensure you are packaging up the correct lwjgl with the appropiate jme binaries

edit - why cant sun just scrap webstart and get a proper solution

Next question is: How ?? :slight_smile:

I havent read the tutorial…



If the program will work from the command line as in something like " java -classpath = /jme.jar blah.jar lwjglstuff.jar myprog  " then it should work in webstart pending keystore bits



Try and resolve the problem from the command line.



If you use jme from cvs then you will also need to download the latest lwjgl version, then add the new lwjgl version and delete the old version.



but do try and run it from command line before spending time on webstart


I have updated lwjgl and the webstart work, the resolution screen shows up, and when I click OK whole app crush with that error:


<?xml version="1.0" encoding="windows-1250" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
  <date>2008-05-03T22:34:49</date>
  <millis>1209846889765</millis>
  <sequence>3</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:49 com.jme.app.BaseGame start
INFO: Application started.
</message>
</record>
<record>
  <date>2008-05-03T22:34:49</date>
  <millis>1209846889765</millis>
  <sequence>4</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:49 com.jme.system.PropertiesIO &lt;init&gt;
INFO: PropertiesIO created
</message>
</record>
<record>
  <date>2008-05-03T22:34:49</date>
  <millis>1209846889781</millis>
  <sequence>5</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:49 com.jme.system.PropertiesIO load
INFO: Read properties
</message>
</record>
<record>
  <date>2008-05-03T22:34:53</date>
  <millis>1209846893453</millis>
  <sequence>7</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:53 com.jme.system.PropertiesIO save
INFO: Saved properties
</message>
</record>
<record>
  <date>2008-05-03T22:34:53</date>
  <millis>1209846893468</millis>
  <sequence>9</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:53 com.jme.app.BaseSimpleGame initSystem
INFO: jME version 1.0
</message>
</record>
<record>
  <date>2008-05-03T22:34:53</date>
  <millis>1209846893484</millis>
  <sequence>11</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:53 com.jme.input.joystick.DummyJoystickInput &lt;init&gt;
INFO: Joystick support is disabled
</message>
</record>
<record>
  <date>2008-05-03T22:34:53</date>
  <millis>1209846893515</millis>
  <sequence>13</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:53 com.jme.system.lwjgl.LWJGLDisplaySystem &lt;init&gt;
INFO: LWJGL Display System created.
</message>
</record>
<record>
  <date>2008-05-03T22:34:53</date>
  <millis>1209846893890</millis>
  <sequence>15</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:53 com.jme.renderer.lwjgl.LWJGLRenderer &lt;init&gt;
INFO: LWJGLRenderer created. W:  640H: 480
</message>
</record>
<record>
  <date>2008-05-03T22:34:54</date>
  <millis>1209846894125</millis>
  <sequence>17</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:54 com.jme.app.BaseSimpleGame initSystem
INFO: Running on: nv4_disp
Driver version: 6.14.10.8602
NVIDIA Corporation - GeForce Go 7400/PCI/SSE2 - 2.0.1
</message>
</record>
<record>
  <date>2008-05-03T22:34:54</date>
  <millis>1209846894140</millis>
  <sequence>19</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:54 com.jme.renderer.AbstractCamera &lt;init&gt;
INFO: Camera created.
</message>
</record>
<record>
  <date>2008-05-03T22:34:54</date>
  <millis>1209846894140</millis>
  <sequence>22</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:54 class jmetest.TutorialGuide.HelloWorld start()
SEVERE: Exception in game loop
java.lang.NoClassDefFoundError: org/lwjgl/opengl/glu/GLU
at com.jme.renderer.lwjgl.LWJGLCamera.doFrameChange(Unknown Source)
at com.jme.renderer.lwjgl.LWJGLCamera.apply(Unknown Source)
at com.jme.renderer.lwjgl.LWJGLCamera.&lt;init&gt;(Unknown Source)
at com.jme.renderer.lwjgl.LWJGLRenderer.createCamera(Unknown Source)
at com.jme.app.BaseSimpleGame.initSystem(Unknown Source)
at com.jme.app.BaseGame.start(Unknown Source)
at jmetest.TutorialGuide.HelloWorld.main(HelloWorld.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.lwjgl.opengl.glu.GLU
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
... 16 more
</message>
</record>
<record>
  <date>2008-05-03T22:34:54</date>
  <millis>1209846894140</millis>
  <sequence>23</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:54 com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
</message>
</record>
<record>
  <date>2008-05-03T22:34:54</date>
  <millis>1209846894140</millis>
  <sequence>25</sequence>
  <logger>com.sun.deploy</logger>
  <level>FINE</level>
  <class>com.sun.deploy.util.LoggerTraceListener</class>
  <method>print</method>
  <thread>11</thread>
  <message>2008-05-03 22:34:54 com.jme.app.BaseGame start
INFO: Application ending.
</message>
</record>
</log>

You probably still have the wrong lwjgl version. See here: http://www.jmonkeyengine.com/jmeforum/index.php?topic=7848

Finally all works perfectly :slight_smile: THX all for your help :slight_smile:

sooooo, where is the demo