Thread: client error at some people and some not

Results 1 to 5 of 5
  1. #1 client error at some people and some not 
    Registered Member
    wouha's Avatar
    Join Date
    Feb 2008
    Age
    27
    Posts
    1,034
    Thanks given
    8
    Thanks received
    16
    Rep Power
    297
    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 . . .
    Some people get this error when they click on the run.bat, and some not and just loads the client???

    Could anyone explain me what the hell this is

    thanks!
    .
    Reply With Quote  
     

  2. #2  
    Sander-WS-
    Guest
    I guess someone has a different build of Java
    Reply With Quote  
     

  3. #3  
    Registered Member
    wouha's Avatar
    Join Date
    Feb 2008
    Age
    27
    Posts
    1,034
    Thanks given
    8
    Thanks received
    16
    Rep Power
    297
    Quote Originally Posted by Sander-WS- View Post
    I guess someone has a different build of Java
    Do you think if i load the client class load through the cache it will work?
    .
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jun 2007
    Age
    26
    Posts
    3,007
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    before client in the run.bat add -cp .

    Code:
    @echo off
    java -Xmx120m -cp . client
    pause
    Reply With Quote  
     

  5. #5  
    Registered Member
    wouha's Avatar
    Join Date
    Feb 2008
    Age
    27
    Posts
    1,034
    Thanks given
    8
    Thanks received
    16
    Rep Power
    297
    Quote Originally Posted by Simon View Post
    before client in the run.bat add -cp .

    Code:
    @echo off
    java -Xmx120m -cp . client
    pause
    thanks
    .
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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