Go to Post FIRST prides itself on safety. It shouldn't be limited to only the pit area. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-03-2016, 12:51 PM
Whippet's Avatar
Whippet Whippet is offline
MIT Class of 2020
AKA: Luis Trueba
FRC #4301 (New Tech Narcissists)
Team Role: Alumni
 
Join Date: Feb 2011
Rookie Year: 2011
Location: Cambridge, MA
Posts: 1,186
Whippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond reputeWhippet has a reputation beyond repute
Send a message via Yahoo to Whippet
class file has wrong version 52.0

Hello all! I have been trying to deploy code to this year's robot but have been receiving an error when I attempt to do so. The compiler spits this out every time:

Code:
Buildfile: /Users/324876/Documents/workspace/Tank Drive/build.xml
Trying to override old definition of task classloader
clean:
   [delete] Deleting directory /Users/324876/Documents/workspace/Tank Drive/build
compile:
    [mkdir] Created dir: /Users/324876/Documents/workspace/Tank Drive/build
     [echo] [athena-compile] Compiling src with classpath=/Users/324876/wpilib/java/current/lib/WPILib.jar:/Users/324876/wpilib/java/current/lib/NetworkTables.jar: to build
    [javac] Compiling 1 source file to /Users/324876/Documents/workspace/Tank Drive/build
    [javac] /Users/324876/Documents/workspace/Tank Drive/src/org/usfirst/frc/team4301/robot/Robot.java:4: cannot access edu.wpi.first.wpilibj.SampleRobot
    [javac] bad class file: edu/wpi/first/wpilibj/SampleRobot.class(edu/wpi/first/wpilibj:SampleRobot.class)
    [javac] class file has wrong version 52.0, should be 50.0
    [javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
    [javac] import edu.wpi.first.wpilibj.SampleRobot;
    [javac]                             ^

BUILD FAILED
/Users/324876/wpilib/java/current/ant/build.xml:71: Compile failed; see the compiler error output for details.

Total time: 2 seconds
It is just one of the example programs, so I know that there is not a problem with my code. Has anybody seen this before? What should I do to fix it?
__________________
2010: FRC 3043, Build Assistant
2011: FRC 3043, Head of Minibot subteam; FLL 12762, Team Captain
2012: FRC 3043, Electrical; FLL 12762, Team Captain; FTC 5670, Team Captain
2013: FRC 4301, Electrical, Team Co-Captain
2014: FRC 4301, Electrical/Programming, Team Co-Captain
2015: FRC 4301, Electrical/Programming, Team Captain
2016: FRC 4301, Chief Technical Officer; FTC 10860, 10861, and 11004: Mentor. Winner, Hub City Regional (3310 & 4063)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:24 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi