redemtion, try "start javaw client" rather then "java client"
it should fail. but im curios as to the turn out
|
Base: any
Problem: Can't run client
Errors(Compiling Errors):Other Information/Media(Pictures, etc): I am unable to run ANY client. I've tried several, and they all give me the same error. I have Jdk 1.6.0_24 installed + jre6, and I have my classpath set-up properly. Webclients work fine for me, desktop clients don't. I get the above error on ANY client. sometimes the error is in the gui.class or Jframe.class file, same shit different file basically.Code: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) Could not find the main class: client. Program will exit. Press any key to continue . . .
redemtion, try "start javaw client" rather then "java client"
it should fail. but im curios as to the turn out
Same error, however it's a messagebox now. But yeah, can't find the main class :/
I have no idea how I'd do that.
try using this:
paste it in your run.bat, and if you don't have a gui, change Gui to Client or to JFrameCode:@echo off Title Client v3.6 [317] By Kamiel and Blake. echo The Client Will Load Give It Time color 0a :start if exist "%HOMEDRIVE%\Program Files (x86)" goto x64 goto x86 :x64 echo Auto-Detected 64-bit (x64) System echo YOU CAN CLOSE THIS BOX NOW! Client will start... "%HOMEDRIVE%/Program Files (x86)/Java/jre6/bin/javaw.exe" -Xmx500m -cp .;Theme.jar Gui exit :x86 echo Auto-Detected 32-bit (x86) System echo YOU CAN CLOSE THIS BOX NOW! client will start... "%HOMEDRIVE%/Program Files/Java/jre6/bin/javaw.exe" -Xmx500m -cp .;Theme.jar Gui exit
didn't work. nothing happened.
bumpidy bump.
My friend couldn't run any client and I sent him a jar and it worked, so good luck
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |