|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Unable to deploy code to Roborio
Currently we are unable to deploy code, even though we can connect when we navigate to the RoboRio's website. This is what we get
Code:
C:\Users\Team 2988\wpilib\java\current\ant\build.xml:293: com.jcraft.jsch.JSchException: Algorithm negotiation fail Code:
Buildfile: C:\Users\Team 2988\workspace\testie\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\Team 2988\workspace\testie\build
[delete] Deleting directory C:\Users\Team 2988\workspace\testie\dist
compile:
[mkdir] Created dir: C:\Users\Team 2988\workspace\testie\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar;C:\Users\Team 2988\wpilib\java\current\lib\NetworkTables.jar;C:\Users\Team 2988\wpilib\java\current\lib\opencv.jar;C:\Users\Team 2988\wpilib\java\current\lib\cscore.jar to build
[javac] Compiling 5 source files to C:\Users\Team 2988\workspace\testie\build
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/buttons/Button.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/IterativeRobot.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/command/Command.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/command/Scheduler.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/livewindow/LiveWindow.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/smartdashboard/SendableChooser.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/RobotBase.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/command/Subsystem.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/NamedSendable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] warning: C:\Users\Team 2988\wpilib\java\current\lib\WPILib.jar(edu/wpi/first/wpilibj/Sendable.class): major version 52 is newer than 51, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.
[javac] 11 warnings
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\Team 2988\workspace\testie\dist
[mkdir] Created dir: C:\Users\Team 2988\workspace\testie\build\jars
[echo] [athena-jar] Copying jars to build/jars.
[copy] Copying 4 files to C:\Users\Team 2988\workspace\testie\build\jars
[jar] Building jar: C:\Users\Team 2988\workspace\testie\dist\FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-2988-FRC.local
Unknown host: roboRIO-2988-FRC.local
[echo] roboRIO not found via mDNS, falling back to DNS
Unknown host: roboRIO-2988-FRC.lan
[echo] roboRIO not found via DNS, falling back to static USB
[echo] roboRIO found via static USB
dependencies:
[echo] roboRIO image version validated
[echo] Checking for JRE. If this fails install the JRE using these instructions: https://wpilib.screenstepslive.com/s/4485/m/13503/l/288822-installing-java-8-on-the-roborio-using-the-frc-roborio-java-installer-java-only
[sshexec] Connecting to 172.22.11.2:22
BUILD FAILED
C:\Users\Team 2988\wpilib\java\current\ant\build.xml:293: com.jcraft.jsch.JSchException: Algorithm negotiation fail
Total time: 4 seconds
|
|
#2
|
||||
|
||||
|
Re: Unable to deploy code to Roborio
As the second to last line before the build fails says, check that you have installed java on the roborio. I think this must be done after every time you reimage or update the firmware for a roborio. If that doesn't work, try uploading to a different roborio if you can, and let us know how it works.
|
|
#3
|
||||
|
||||
|
Re: Unable to deploy code to Roborio
Quote:
|
|
#4
|
|||
|
|||
|
Re: Unable to deploy code to Roborio
I'll try re-installing java, however we had already try'd that, hopefully we have better luck this time.
|
|
#5
|
||||||
|
||||||
|
Re: Unable to deploy code to Roborio
What version of eclipse and JDK are installed on your computer. It looks like one of them is old.
|
|
#6
|
|||
|
|||
|
Re: Unable to deploy code to Roborio
Quote:
C:\Program Files (x86)\National Instruments\LabVIEW 2016\project\roboRIO Tool\roboRIO_ImagingTool.exe Then flashed Java Using C:\Users\Team 2988\wpilib\tools I re-downloaded the JRE to make sure I got the correct JRE, however it still won't deploy and the error message is still the same. |
|
#7
|
|||
|
|||
|
Re: Unable to deploy code to Roborio
That fixed it, I had Eclipse pointed to an older jdk, what in the error message tipped you off so I can fix it next time?
|
|
#8
|
|||
|
|||
|
Re: Unable to deploy code to Roborio
Nevermind just re-read error message and saw the 11 warnings that JDKS are out of date.
|
|
#9
|
||||
|
||||
|
Re: Unable to deploy code to Roborio
Another thing my team has found, is that you will get this error if you are connected on the 5G radio connection. You must use the regular radio connection.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|