I am a little confused on why this isn't working but I am trying to get LWJGL to work along side my own library but when I try to use my library which used the LWJGL I always get this error message
1 2 3 4 5 6 7 8 9 10 11 12 13
| Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/LWJGLException at easycliptest.EasyClipTest.<init>(EasyClipTest.java:18) at easycliptest.EasyClipTest.main(EasyClipTest.java:67) Caused by: java.lang.ClassNotFoundException: org.lwjgl.LWJGLException at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 2 more Java Result: 1 |
The thing about it though is LWJGL works if I just run the a test within the library project Easy Clip that uses LWJGL. If another program is to use Easy Clip as a library and easy clip uses LWJGL, then how can this be done?
Also not sure where this topic goes, I tried registering for LWJGL forums but this question "What is the package + class name that Display inherits from?", is the one I am stuck on. In my opinion that forum has too many security requirements during registration. Seems too much to me.