Thread: Run Errors

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1 Run Errors 
    Donator


    Join Date
    Jul 2014
    Posts
    509
    Thanks given
    90
    Thanks received
    87
    Rep Power
    503
    Just started getting this, no clue what it is. Won't let me run the server but I can compile it.

    Code:
    Exception in thread "main" java.lang.UnsupportedClassVersionError: server/model/
    players/Client : Unsupported major.minor version 52.0
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
    2)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
            at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
            at java.lang.Class.getMethod0(Class.java:2856)
            at java.lang.Class.getMethod(Class.java:1668)
            at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
            at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
    
    Press any key to continue . . .
    Any help will be greatly appreicated!
    Reply With Quote  
     

  2. #2  
    Everybody needs a bosom for a pillow
    Hyperon's Avatar
    Join Date
    Nov 2014
    Age
    34
    Posts
    108
    Thanks given
    18
    Thanks received
    22
    Rep Power
    11
    You need to compile and run in the same version of Java, jdk7 and jre7 for example. A Google search of UnsupportedClassVersionError gives you this information right away.
    RS: DayZ Mod development
    For the best old school vibe #289: http://classic-live.net/
    Reply With Quote  
     

  3. #3  
    Donator


    Join Date
    Jul 2014
    Posts
    509
    Thanks given
    90
    Thanks received
    87
    Rep Power
    503
    Quote Originally Posted by Hyperon View Post
    You need to compile and run in the same version of Java, jdk7 and jre7 for example. A Google search of UnsupportedClassVersionError gives you this information right away.
    They are compiled in the same version and have been for months. This error just started to happen. Thanks for using sources I have already tried though.
    Reply With Quote  
     

  4. #4  
    Everybody needs a bosom for a pillow
    Hyperon's Avatar
    Join Date
    Nov 2014
    Age
    34
    Posts
    108
    Thanks given
    18
    Thanks received
    22
    Rep Power
    11
    Do you use an IDE?
    RS: DayZ Mod development
    For the best old school vibe #289: http://classic-live.net/
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Jul 2014
    Posts
    509
    Thanks given
    90
    Thanks received
    87
    Rep Power
    503
    Quote Originally Posted by Hyperon View Post
    Do you use an IDE?
    Yes, 0 errors.
    Reply With Quote  
     

  6. #6  
    Everybody needs a bosom for a pillow
    Hyperon's Avatar
    Join Date
    Nov 2014
    Age
    34
    Posts
    108
    Thanks given
    18
    Thanks received
    22
    Rep Power
    11
    No, check your build path and run path for JRE libraries and double check they are the same.
    RS: DayZ Mod development
    For the best old school vibe #289: http://classic-live.net/
    Reply With Quote  
     

  7. #7  
    Member of the Imagine Cult

    Join Date
    Feb 2013
    Posts
    519
    Thanks given
    21
    Thanks received
    7
    Rep Power
    59
    Not 100% sure but I think it might be because of the java version you are using :/ I remember having this issue but don't remember how I resolved it. Sorry
    Reply With Quote  
     

  8. #8  
    Donator


    Join Date
    Jul 2014
    Posts
    509
    Thanks given
    90
    Thanks received
    87
    Rep Power
    503
    Quote Originally Posted by Hyperon View Post
    No, check your build path and run path for JRE libraries and double check they are the same.
    Yes, they are the same.
    Reply With Quote  
     

  9. #9  
    Everybody needs a bosom for a pillow
    Hyperon's Avatar
    Join Date
    Nov 2014
    Age
    34
    Posts
    108
    Thanks given
    18
    Thanks received
    22
    Rep Power
    11
    Try a different version.
    RS: DayZ Mod development
    For the best old school vibe #289: http://classic-live.net/
    Reply With Quote  
     

  10. #10  
    Donator


    Join Date
    Jul 2014
    Posts
    509
    Thanks given
    90
    Thanks received
    87
    Rep Power
    503
    Bump: still needing help.
    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. WLPVP Run error
    By Ziya in forum Help
    Replies: 1
    Last Post: 01-30-2009, 10:40 PM
  2. Run error
    By Dunea in forum Help
    Replies: 2
    Last Post: 01-25-2009, 01:46 PM
  3. Compiling and Running errors
    By ForeColor in forum Help
    Replies: 3
    Last Post: 01-24-2009, 05:19 PM
  4. Client Running Error
    By Ryan. in forum Help
    Replies: 8
    Last Post: 01-21-2009, 12:23 AM
  5. Running Error
    By cityoss in forum Help
    Replies: 6
    Last Post: 01-01-2009, 05:52 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
  •