Results 1 to 13 of 13
  1. #1
    MrLove2Skillz is offline Member
    Join Date
    Jun 2011
    Posts
    5
    Rep Power
    0

    Default Please help ffs.

    Alright I've been running a RuneScape Private Server(RSPS) for a whiiiiile now. Never come upon an error such as this. Now, you see. My old computer had the same problem but it broke (so I got a new one, this one) and on EVERY .bat file, it posts an error..
    Java 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 . . .
    FOR EVERY FILE. I swear. Every .bat file it can't find the main file.. :/ Help?

  2. #2
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,782
    Rep Power
    7

    Default

    This site is for people developing in the Java language. It is not a Runescape heldesk.

  3. #3
    MrLove2Skillz is offline Member
    Join Date
    Jun 2011
    Posts
    5
    Rep Power
    0

    Default

    Okay.. It's Java developing language... Forget the RuneScape part and say it was an ordinary batch file?

  4. #4
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,782
    Rep Power
    7

    Default

    Are you writing the code?

  5. #5
    MrLove2Skillz is offline Member
    Join Date
    Jun 2011
    Posts
    5
    Rep Power
    0

    Default

    Nope :/ I'll send you my Run.bat code.
    Java Code:
    @echo off
    cd bin
    java client 0 live english game0
    pause
    That's just THIS code, though. ALL .bat files don't work..

  6. #6
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,782
    Rep Power
    7

    Default

    Once again this is not Runescape held desk. If you have a problem with Runescape then go ask them about it!

  7. #7
    MrLove2Skillz is offline Member
    Join Date
    Jun 2011
    Posts
    5
    Rep Power
    0

    Default

    DUDE. What do you NOT understand? IT'S NOT A RUNESCAPE PROBLEM. IT'S FOR ALL .BAT FILES. EVERYTHING THAT USES A CMD BOX.

  8. #8
    Muskar is offline Member
    Join Date
    Nov 2010
    Posts
    73
    Rep Power
    0

    Default

    Quote Originally Posted by MrLove2Skillz View Post
    DUDE. What do you NOT understand? IT'S NOT A RUNESCAPE PROBLEM. IT'S FOR ALL .BAT FILES. EVERYTHING THAT USES A CMD BOX.
    Then it's possibly a Windows problem, but certainly not a Java-code problem.

  9. #9
    MrLove2Skillz is offline Member
    Join Date
    Jun 2011
    Posts
    5
    Rep Power
    0

    Default

    That's kind of all you had to say...

  10. #10
    Junky's Avatar
    Junky is offline Grand Poobah
    Join Date
    Jan 2011
    Location
    Dystopia
    Posts
    3,782
    Rep Power
    7

    Default

    DUDE what don't you understand. This IS a Runescape problem. You are trying to run Runescape and you are either missing one or more files or have configured it incorrectly. The only people who can help you fix your problem are the people responsible for Runescape.

  11. #11
    Muskar is offline Member
    Join Date
    Nov 2010
    Posts
    73
    Rep Power
    0

    Default

    Quote Originally Posted by MrLove2Skillz View Post
    That's kind of all you had to say...
    If you're being ironic, then first of all, why all the hatred?
    Secondly, I have no idea what your problem could be since I have never experienced it before (and I think most people in here have it the same way). The best I can do is advice you to Google the error code, if there is any. Otherwise Google something like ".bat files gives NoClassDefFoundError" and hope to find some solution somewhere.

    But I think Junky's point is that you have no plausible chance of getting any help with your problem in here.

  12. #12
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default

    It looks like your Java classpath is set wrong. As for what it's supposed to be... that's a question for the RSPS devs.

    And .BAT files, in general, have absolutely nothing to do with Java.
    Get in the habit of using standard Java naming conventions!

  13. #13
    loopsnhoops is offline Member
    Join Date
    Feb 2011
    Posts
    83
    Rep Power
    0

    Default

    I am very experienced in the art of cmd code and batch files but since you were being overly aggressive to the guy who has helped me more then 20 times in the last 3 days (Junky) you are on your own.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •