You don't have a server class...
|
|
Okay, so i host the server on my comp, and evertyhing is fine, i start up server and when i finnaly get a vps, i uplod files to there, all of them and i made sure.When i click run.bat i get this error
Can anyone please help me with this issue?Exception in thread "main" java.lang.NoClassDefFoundError: palidino76/rs2/Server
Caused by: java.lang.ClassNotFoundException: palidino76.rs2.Server
at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)
Could not find the main class: palidino76/rs2/Server. Program will exit.
Press any key to continue . . .
omg, what is that, what do you mean o.o....every folder was uploaded to vps fine.

post ur run.bat
It should look like this:
Or something in those lines.Code:@echo off cd ../bin "C:\Program Files\Java\jre6\bin\java.exe" palidino76/rs2/Server 43594 pause
And yes, ofc i have server.java, that why i am confused also.@echo off
cd ../bin
"C:\Program Files\Java\jdk1.6.0_07\bin\java.exe" palidino76/rs2/Server 43594
pause
okay
You see this -> "C:\Program Files\Java\jdk1.6.0_07\bin\java.exe" palidino76/rs2/Server 43594
Change it to this
java palidino76/rs2/Server 43594
| « [508] playersave | PvP System -Error » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |