Jump to content
  • Advertisement
Sign in to follow this  
RawBeen

JAVA Active Rendering article

This topic is 3537 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!