[Solved] Error when launching exported .jar

put it simply, I have the error below (see pic) and no matter what i try I cant fix it. I presume its something blaintly obvious but I guess I need it pointed out.

Just a bit of info:

Using Eclipse Indigo, Windows 7 OS, I am using LWJGL, I have the external jar added to the project, I have the native set to the natives from the initial download. I export the jar via Eclipse Export and I run it via a Run.bat file which contains the contents “java -jar Test.jar” Test.jar being the jar name.

You can’t run a LWJGL application like that, you also have to add the lwjgl jars and natives to the classpath, using something like the following:

java -cp Test.jar;lib\lwjgl.jar;lib\lwjgl_util.jar; -Djava.library.path=native\windows yourpackagename.yourMainClass 

In your case you only have the Test.jar so java can’t find LWJGL or its natives.

If you do just want to have a single jar, then you can use a tool like JarSplice to create a fat jar, which will merge the lwjgl jars and natives into your jar, allowing you to just double click it to start.

Thanks for quick reply. Sometimes it just takes stupid obvious point outs for nubs like me to get their shit right =P.

Thanks again.