Tutorial Troubles

Switching over to this library I tried testing this tutorial by the letter. Building worked with no errors, but when I run it this pops up:


java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Exception in thread "main" 

I’m not quite sure what the problem is exactly and I need to figure this out before I get experimenting and playing on my own. Thanks in advance. :frowning:

the ClassNotFoundException is becuas of an environment setup error. In this case, you need to enclose your classpath with " - its probably becuase you’re executing from your Desktop which is in c:\Documents And Settings\ … - so write “c:\Documents And Settings…”

It worked, I just need to add some lights to the window and it should appear now. Thanks muchly. :slight_smile: