Thread: Class has wrong version

Results 1 to 3 of 3
  1. #1 Class has wrong version 
    Banned
    Join Date
    Apr 2014
    Posts
    68
    Thanks given
    14
    Thanks received
    7
    Rep Power
    0
    Hey guys, when I try to compile this shows up :


    src\server\Config.java:10: cannot access java.lang.Object
    bad class file: java\lang\Object.class(java\lang:Object.class)
    class file has wrong version 52.0, should be 50.0
    Please remove or make sure it appears in the correct subdirectory of the classpa
    th.
    public class Config {
    ^


    Anyone know a fix?
    Reply With Quote  
     

  2. #2  
    Registered Member xEliqa's Avatar
    Join Date
    Mar 2014
    Posts
    47
    Thanks given
    0
    Thanks received
    6
    Rep Power
    11
    what version of java are you compiling with ? you might need to update it, i suggest 1.7jdk
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Apr 2014
    Posts
    68
    Thanks given
    14
    Thanks received
    7
    Rep Power
    0
    Quote Originally Posted by xEliqa View Post
    what version of java are you compiling with ? you might need to update it, i suggest 1.7jdk
    Im using 8.11
    It worked fine on my other source, this source im using now is Zanaris
    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: 1
    Last Post: 01-01-2013, 09:15 PM
  2. Replies: 11
    Last Post: 07-07-2012, 03:06 AM
  3. Replies: 0
    Last Post: 12-05-2011, 06:30 PM
  4. Which class has the startup text?
    By TheRedArmy in forum Help
    Replies: 3
    Last Post: 10-18-2009, 07:36 PM
  5. Replies: 7
    Last Post: 01-17-2009, 08:50 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
  •