[java] GF4J on Mac OS X

Started by
3 comments, last by kingofsquirrels 22 years, 7 months ago
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
Advertisement
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
-Pasi Keranen
I''m using JDK version 1.2 and GF4J version 0.9.6 RC1

kingofsquirrels
I tried changing GameFrame.createAll () to:
GameFrame.createInputEngine (myMainComponent);
GameFrame.createSoundEngine (myMainComponent);
GameFrame.createClock ();

There were no exceptions thrown.

kingofsquirrels
Never mind, it was a problem with the setup of the development environment. It seems to be working okay now.

This topic is closed to new replies.

Advertisement