migrate from 1.14 to 2 or 3

Started by MickeyB, February 08, 2016, 14:11:17

Previous topic - Next topic

MickeyB

I have been away for quite a while.... and wrote many of my games from 2002 - 2008 and used 0.96 and 1.14.  For some odd reason, they no longer will run (Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.opengl.Display) even though I am sure I have eclipse set up right (jars and natives).  Used to use JCreator.  Anyway, looking to upgrade and found the 2-3 migration, but from 1 ??  Anyone have any suggestions for that path?   
M

kappa

The API's changes from 1 to 2 are not that extensive (couple of classes and methods moved around and a few moved from lwjgl.jar to lwjgl_util.jar), so you should be able to upgrade there with minimal changes to your code.

LWJGL3 on the other hand has a very different API with the Display class gone and replaced by the GLFW API. This although will take a bit more work to get working is much better overall as it has more features, better compatilibty on newer computers and should be preferred over LWJGL 1 & 2 as they are no longer supported. The OpenGL parts are largely the same with only minor api changes.

MickeyB

Thanks.   I think I will just do some reading, tut reviews and make the move to 3,
M