PDA

View Full Version : Client run error, can't fine main class client



Destructive
June 29th, 2010, 06:12
Okay so I'm trying to run my client and it wont work, when I try to run the client i get this error.
Exception in thread "main" java.lang.NoClassDefFoundError: client
Caused by: java.lang.ClassNotFoundException: client
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: client. Program will exit.
Press any key to continue . . .

All my .class files are located in my src folder, heres my run.bat

@echo off
cd src
java -Xmx256m client 1 live live software members english game1
pause

PLEASE HELP!