Windows/Eclipse Installation Troubleshooting

Started by Buggy, October 30, 2008, 00:21:30

Previous topic - Next topic

Buggy

As can be guessed from the topic title, I've been having some trouble installing LWJGL.  The screenshots from the installation page are somewhat outdated for Eclipse, and on the very last step, my VM argument doesn't seem to work.  I always get this error in the console:

java.lang.NoClassDefFoundError: and
Caused by: java.lang.ClassNotFoundException: and
   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)
Exception in thread "main"


What exactly am I supposed to put into the VM argument?  Nothing seems to work.

Matzon

I'll update the wiki soon'ish.

Your problem is a classpath issue (NoClassDefFoundError) - and not a VM argument issue.
The 'and' gives you a clue that you have multiple commands on the command line. Wrap your Documents and Settings in quotes - or the whole command line so it doesn't get executed as several commands.

Buggy