Thread: Can't Run Client

Results 1 to 6 of 6
  1. #1 Can't Run Client 
    Registered Member
    Join Date
    Aug 2012
    Posts
    153
    Thanks given
    3
    Thanks received
    5
    Rep Power
    13
    I can't load the client, mind helping me?, it's from RuneEvolution's client
    Code:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: client : Unsu
    pported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(Unknown Source)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$000(Unknown Source)
            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 . . .
    Reply With Quote  
     

  2. #2  
    Registered Member Recursion's Avatar
    Join Date
    Feb 2010
    Posts
    638
    Thanks given
    0
    Thanks received
    29
    Rep Power
    41
    Looks like you're trying to run code with Java 6 that was compiled with Java 7.

    Recompile all files with Java 6 to fix or upgrade to Java 7.
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Dec 2009
    Posts
    733
    Thanks given
    0
    Thanks received
    85
    Rep Power
    0
    Upgrade to JDK 7
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2012
    Posts
    153
    Thanks given
    3
    Thanks received
    5
    Rep Power
    13
    I see I will try that out right now, thanks for the quick replies.

    Edit: I already have JDK 7 Update 7.

    Edit2: All there is to it is .class files so I am unable to recompile with JDK 6.
    I will try to recompile with JDK 6.
    Reply With Quote  
     

  5. #5  
    Registered Member Recursion's Avatar
    Join Date
    Feb 2010
    Posts
    638
    Thanks given
    0
    Thanks received
    29
    Rep Power
    41
    Quote Originally Posted by Existing View Post
    I see I will try that out right now, thanks for the quick replies.

    Edit: I already have JDK 7 Update 7.

    Edit2: All there is to it is .class files so I am unable to recompile with JDK 6.
    I will try to recompile with JDK 6.
    You will need to decompile the class files and then recompile with jdk 6 then.

    Also, post your run.bat. I'm thinking it's calling java 6 instead of java 7.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Aug 2012
    Posts
    153
    Thanks given
    3
    Thanks received
    5
    Rep Power
    13
    Quote Originally Posted by Recursion View Post
    You will need to decompile the class files and then recompile with jdk 6 then.

    Also, post your run.bat. I'm thinking it's calling java 6 instead of java 7.
    It's already fixed, thanks for the help guys.
    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

Similar Threads

  1. Replies: 7
    Last Post: 06-27-2013, 11:52 AM
  2. Replies: 0
    Last Post: 07-18-2012, 07:02 AM
  3. can't run client
    By Notorious BIG in forum Help
    Replies: 10
    Last Post: 07-03-2011, 11:27 PM
  4. I cant get client to run!
    By Snorlaxlolz in forum Help
    Replies: 5
    Last Post: 02-12-2011, 05:50 AM
  5. Can't run client.
    By Sweet Ride in forum Help
    Replies: 0
    Last Post: 12-19-2010, 05:25 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
  •