• Log in or sign up for an account here: https://www.sythe.org/login

Cannot launch private server.

Status
Not open for further replies.

Bosu

Newcomer
Joined
May 20, 2009
Sythe Gold
0
Messages
1
Okay.

I have a laptop PC with Windows XP Pro installed. All private servers work on there, no problems whatsoever. Same versions of java.

I have a desktop PC with Windows Vista/XP Pro, same version of java. Today I dual-booted XP and thought maybe it was just vista, but it doesn't work on either of them.

When I first try to open a server (Near Reality) the batch file simply flashes open then closes(This is on the XP Pro, I've tried it on Vista too.) For another server, OblivionPK, this is the error I get:

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)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: client.  Program will exit.
Press any key to continue . . .

I've tried screwing around with all different kinds of paths, java versions, etc. Same shit. I've tried copying the paths from my laptop as well but that didn't work either.

These are the paths I have for the computer I'm on right now(non-working):
Classpath: J:\Program Files\Java\jre6\lib
Path: J:\Program Files\Java\jre6\bin

I've tried swapping these around and trying different things to no avail.. anyone have any idea how to fix this?
 
NoClassDefFoundError means that there's no class files there. Hit compile.
 
I was about to say that too, NoClassDefFoundError does mean that there is NO CLASS FILES at all so you must hit compile, sorry for reposting Sindrefyrn just making a point :)
 
Status
Not open for further replies.
Runescape Gamblingrunescape gambling
Back
Top