Jump to content
  • Advertisement
Sign in to follow this  
RawBeen

JAVA Active Rendering article

This topic is 3620 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

http://www.gamedev.net/reference/programming/features/javarender/ This looks super, right? I tried to compile it( javac SimpleWindowedGame.java ) but I just got these errors: Exception in thread "main" java.lang.NoClassDefFoundError: SimpleWindowedGame Caused by: java.lang.ClassNotFoundException: SimpleWindowedGame 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) at java.lang.ClassLoader.loadClassInternal(Unknown Source) Could not find the main class: SimpleWindowedGame. Program will exit.

Share this post


Link to post
Share on other sites
Advertisement
I guess it looks better:

SimpleWindowedGame.java:29: cannot find symbol
symbol : class BufferStrategy
location: class SimpleWindowedGame
BufferStrategy buffer = canvas.getBufferStrategy();
^
SimpleWindowedGame.java:38: cannot find symbol
symbol : class BufferedImage
location: class SimpleWindowedGame
BufferedImage bi = gc.createCompatibleImage( 640, 480 );
^
2 errors


Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!