Thread: Friend gets this error when clicking Run.bat

Results 1 to 4 of 4
  1. #1 Friend gets this error when clicking Run.bat 
    Registered Member
    Join Date
    Jul 2011
    Posts
    537
    Thanks given
    25
    Thanks received
    35
    Rep Power
    0
    Was trying to help a friend over TV, and when I clicked run.bat his CMD printed this error:
    Code:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: server/Server
     : Unsupported major.minor version 51.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    1)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
            at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: server.Server.  Program will exit.
    Press any key to continue . . .

    Anyone have a clue how to fix?
    I support Eliminate.


    [Today 06:28 PM] Scu11: Mans gotta spread his wings, to do his tings
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2011
    Posts
    194
    Thanks given
    29
    Thanks received
    41
    Rep Power
    34
    Instead of it saying "java" put the link to java.exe in his program files.
    e.g. "C:\Program Files\Java\jre6\bin\java.exe"
    Reply With Quote  
     

  3. #3  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    Upgrade your java version.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2011
    Posts
    537
    Thanks given
    25
    Thanks received
    35
    Rep Power
    0
    Quote Originally Posted by Nty Life View Post
    Instead of it saying "java" put the link to java.exe in his program files.
    e.g. "C:\Program Files\Java\jre6\bin\java.exe"
    It was like that.


    Quote Originally Posted by Visibilities View Post
    Upgrade your java version.
    Ok, when he comes back i'll get him to upgrade. Hopefully it works
    I support Eliminate.


    [Today 06:28 PM] Scu11: Mans gotta spread his wings, to do his tings
    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. Run.bat error
    By Typoerased in forum Help
    Replies: 10
    Last Post: 12-19-2011, 03:09 AM
  2. Run.bat Error [PI]
    By X-zial in forum Help
    Replies: 2
    Last Post: 02-27-2011, 11:49 PM
  3. Run.bat Error :s
    By Nintendo in forum Help
    Replies: 0
    Last Post: 08-31-2010, 03:05 PM
  4. help! run.bat error
    By Pronyma in forum Help
    Replies: 2
    Last Post: 03-18-2010, 09:33 AM
  5. run.bat error
    By Sunfighter55 in forum Help
    Replies: 5
    Last Post: 12-01-2008, 04:55 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
  •