Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Trouble creating game libary

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Zaris   Members   

183
Like
0Likes
Like

Posted 26 April 2013 - 09:28 AM

I'm trying to create a basic lib using lwjgl.I created the jar and added to a new project. It seems to be working well, but when I go to run the program I get this error.

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException
    at GameTest.main(GameTest.java:9)
Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 1 more

 

Does anyone know what step I am missing?

 

Thanks.



#2 Zaris   Members   

183
Like
0Likes
Like

Posted 26 April 2013 - 09:33 AM

Found my error, did not add the lwjgl libs to the new project. Is their a way to for the libary the include these files without having to add to the new project?






Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.