Thread: Can't run ANY client!

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1 Can't run ANY client! 
    Hated Cracka

    iJay's Avatar
    Join Date
    Jul 2009
    Posts
    256
    Thanks given
    9
    Thanks received
    1
    Rep Power
    124
    Base: any
    Problem: Can't run client
    Errors(Compiling Errors):
    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 . . .
    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.
    Reply With Quote  
     

  2. #2  
    Registered Member
    timetodothis's Avatar
    Join Date
    Jul 2009
    Posts
    532
    Thanks given
    24
    Thanks received
    55
    Rep Power
    123
    redemtion, try "start javaw client" rather then "java client"

    it should fail. but im curios as to the turn out
    Reply With Quote  
     

  3. #3  
    Hated Cracka

    iJay's Avatar
    Join Date
    Jul 2009
    Posts
    256
    Thanks given
    9
    Thanks received
    1
    Rep Power
    124
    Same error, however it's a messagebox now. But yeah, can't find the main class :/
    Reply With Quote  
     

  4. #4  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    You could try jarring the client and using the jar to run it.
    Reply With Quote  
     

  5. #5  
    Hated Cracka

    iJay's Avatar
    Join Date
    Jul 2009
    Posts
    256
    Thanks given
    9
    Thanks received
    1
    Rep Power
    124
    I have no idea how I'd do that.
    Reply With Quote  
     

  6. #6  
    Registered Member
    thim slug's Avatar
    Join Date
    Nov 2010
    Age
    28
    Posts
    4,132
    Thanks given
    1,077
    Thanks received
    1,137
    Rep Power
    5000
    I'll do it for you.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Kamiel's Avatar
    Join Date
    Jul 2010
    Age
    28
    Posts
    1,272
    Thanks given
    66
    Thanks received
    166
    Rep Power
    295
    try using this:
    Code:
    @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
    paste it in your run.bat, and if you don't have a gui, change Gui to Client or to JFrame
    Reply With Quote  
     

  8. #8  
    Hated Cracka

    iJay's Avatar
    Join Date
    Jul 2009
    Posts
    256
    Thanks given
    9
    Thanks received
    1
    Rep Power
    124
    didn't work. nothing happened.
    Reply With Quote  
     

  9. #9  
    Hated Cracka

    iJay's Avatar
    Join Date
    Jul 2009
    Posts
    256
    Thanks given
    9
    Thanks received
    1
    Rep Power
    124
    bumpidy bump.
    Reply With Quote  
     

  10. #10  


    Major's Avatar
    Join Date
    Jan 2011
    Posts
    2,997
    Thanks given
    1,293
    Thanks received
    3,556
    Rep Power
    5000


    My friend couldn't run any client and I sent him a jar and it worked, so good luck
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Replies: 5
    Last Post: 12-30-2010, 06:43 AM
  2. Replies: 9
    Last Post: 12-12-2010, 03:13 AM
  3. Replies: 14
    Last Post: 05-15-2010, 08:11 PM
  4. Replies: 3
    Last Post: 02-12-2010, 08:44 PM
  5. Replies: 14
    Last Post: 07-20-2009, 08:56 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •