[java] GF4J on Mac OS X
I''m trying to get GF4J working as an application on Mac OS X. My test app reports an exception during initialization:
Couldn''t create graphics implementation. java.lang.NoClassDefFoundError: gameframe/implementations/jdk12x/CComponentGraphicsEngine$1
I''ve un-archived the gameframe.jar file into a directory, and set the dev environment''s search path to that directory.
The build log shows:
adding: gameframe/implementations/jdk12x/CComponentGraphicsEngine.class(in = 13833) (out= 13833)(stored 0%)
If anyone has any suggestions, they''ll be much appreciated. Thanks!
kingofsquirrels
Which Java Development Kit version are you using (1.1, 1.2, 1.3 etc.)? And which version of GF4J are you using (0.9.5 or the 0.9.6-RC1)?
javanerd at geocities dot com
javanerd at geocities dot com
I tried changing GameFrame.createAll () to:
GameFrame.createInputEngine (myMainComponent);
GameFrame.createSoundEngine (myMainComponent);
GameFrame.createClock ();
There were no exceptions thrown.
kingofsquirrels
GameFrame.createInputEngine (myMainComponent);
GameFrame.createSoundEngine (myMainComponent);
GameFrame.createClock ();
There were no exceptions thrown.
kingofsquirrels
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement