Thread: When I Run Insidis Client. I get this error.

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 When I Run Insidis Client. I get this error. 
    Registered Member 'Rawr's Avatar
    Join Date
    Jul 2011
    Posts
    55
    Thanks given
    12
    Thanks received
    1
    Rep Power
    11
    Error: Could not find or load main class Gui, How do i fix?? Run.bat says
    @echo off
    Title Client
    cd ./
    "C:\Program Files\Java\jre7\bin\java.exe" -Xmx500m Gui 30 0 lowmem members 32
    pause
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Aug 2011
    Posts
    127
    Thanks given
    3
    Thanks received
    8
    Rep Power
    0
    See if there is a gui.class in your client , or gui.java
    Reply With Quote  
     

  3. #3  
    Registered Member 'Rawr's Avatar
    Join Date
    Jul 2011
    Posts
    55
    Thanks given
    12
    Thanks received
    1
    Rep Power
    11
    Both of them are there.
    Reply With Quote  
     

  4. #4  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    change the jre7 to your current JDK layout

    "C:\Program Files\Java\jre7\bin\java.exe"
    mine would be like this
    "C:\Program Files\Java\jdk1.6.0_26\bin\java.exe"

    It should work
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  5. #5  
    Registered Member 'Rawr's Avatar
    Join Date
    Jul 2011
    Posts
    55
    Thanks given
    12
    Thanks received
    1
    Rep Power
    11
    I have Jdk1.7.0 and Jdk1.6.0_27? Which one?

    Damn, Now it says
    Exception in thread "main" java.lang.NoClassDefFoundError: Gui
    Caused by: java.lang.ClassNotFoundException: Gui
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
    Could not find the main class: Gui. Program will exit.
    Last edited by Streetwave; 09-10-2011 at 03:42 PM.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jun 2011
    Age
    29
    Posts
    329
    Thanks given
    21
    Thanks received
    8
    Rep Power
    9
    Quote Originally Posted by 'Rawr View Post
    Damn, Now it says
    Exception in thread "main" java.lang.NoClassDefFoundError: Gui
    Caused by: java.lang.ClassNotFoundException: Gui
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
    Could not find the main class: Gui. Program will exit.
    Code:
    -Xmx500m Gui 30 0 lowmem members 32
    change this to

    Code:
    -Xmx500m client 30 0 lowmem members 32
    l2 read error... says no finding mains class Gui... because most client's main class it's client ...........................................
    Reply With Quote  
     

  7. #7  
    Registered Member 'Rawr's Avatar
    Join Date
    Jul 2011
    Posts
    55
    Thanks given
    12
    Thanks received
    1
    Rep Power
    11
    Same thing, But this time it says Client...

    Exception in thread "main" java.lang.NoClassDefFoundError: Client
    Caused by: java.lang.ClassNotFoundException: Client
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
    Could not find the main class: Client. Program will exit.
    Last edited by Streetwave; 09-10-2011 at 03:41 PM.
    Reply With Quote  
     

  8. #8  
    Registered Member

    Join Date
    Sep 2008
    Posts
    4,833
    Thanks given
    894
    Thanks received
    1,439
    Rep Power
    2924
    Quote Originally Posted by 'Rawr View Post
    Exception in thread "main" java.lang.NoClassDefFoundError: Client
    Caused by: java.lang.ClassNotFoundException: Client
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
    Could not find the main class: Client. Program will exit.
    Ermm... Re-download my client and double check you have all the files? They SHOULD have both of those classes, also Have you moved around any files? or foldered anything?
    "Know thy self, know thy enemy. A thousand battles, a thousand victories." - Sun Tzu
    GitHub: https://github.com/Faris-Mckay
    Reply With Quote  
     

  9. #9  
    Registered Member 'Rawr's Avatar
    Join Date
    Jul 2011
    Posts
    55
    Thanks given
    12
    Thanks received
    1
    Rep Power
    11
    Still nothing.
    Reply With Quote  
     

  10. #10  
    ???

    funkE's Avatar
    Join Date
    Feb 2008
    Posts
    2,612
    Thanks given
    255
    Thanks received
    989
    Rep Power
    1366
    Check the capitalization of "Gui"
    .
    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. Client error.
    By T R O L O L in forum Help
    Replies: 4
    Last Post: 07-09-2011, 11:00 PM
  2. client cmd error+ client crash
    By cruel ko in forum Help
    Replies: 2
    Last Post: 06-18-2011, 05:33 AM
  3. Client Error: T2 Error (need help please)
    By tommy1234 in forum Help
    Replies: 5
    Last Post: 11-20-2010, 09:39 PM
  4. Client Error, Freezes Client
    By xX Chris Xx in forum RS2 Client
    Replies: 0
    Last Post: 08-23-2008, 05:14 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •