mark219
16-01-2016, 11:49
The programming team and I are currently working with a small test robot we built in the preseason. So far, we have been able to make the robot and make a simple drive system so it can drive based off of user input from a controller. Recently, we re-imaged and re-installed a new JRE onto the roborio that our test robot has to the new 2016 image/jre. Previously, our code would work, now it doesn't and we don't now why?
Here is the console log on eclipse
Buildfile: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
[delete] Deleting directory C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist
compile:
[mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\RM316CSHP2/wpilib/java/current/lib/WPILib.jar:C:\Users\RM316CSHP2/wpilib/java/current/lib/NetworkTables.jar: to build
[javac] Compiling 6 source files to C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist
[mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build\jars
[echo] [athena-jar] Copying jars from C:\Users\RM316CSHP2/wpilib/java/current/lib/WPILib.jar:C:\Users\RM316CSHP2/wpilib/java/current/lib/NetworkTables.jar: to build/jars.
[copy] Copying 2 files to C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build\jars
[jar] Building jar: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist\FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-219-FRC.local
[echo] roboRIO found via mDNS
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 roboRIO-219-FRC.local:22
[sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-219-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-219-FRC.local:22
[sshexec] cmd : killall -q netconsole-host || :
[scp] Connecting to roboRIO-219-FRC.local:22
[scp] done.
[echo] [athena-deploy] Starting program.
[sshexec] Connecting to roboRIO-219-FRC.local:22
[sshexec] cmd : . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r;
[sshexec] killall: lvrt: no process killed
[sshexec] Remote command failed with exit status 1
[sshexec] Connecting to roboRIO-219-FRC.local:22
[sshexec] cmd : sync
BUILD SUCCESSFUL
Total time: 14 seconds
and here is the RioLog output (there's a load of these messages oncoming every 2 seconds or so)
➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'»
execvp: No such file or directory
What I think is that this means that there is no JRE on the rio, however we did successfully install it (or so the person who did it said so)
Here is the console log on eclipse
Buildfile: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build.xml
Trying to override old definition of task classloader
clean:
[delete] Deleting directory C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
[delete] Deleting directory C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist
compile:
[mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\RM316CSHP2/wpilib/java/current/lib/WPILib.jar:C:\Users\RM316CSHP2/wpilib/java/current/lib/NetworkTables.jar: to build
[javac] Compiling 6 source files to C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build
jar:
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist
[mkdir] Created dir: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build\jars
[echo] [athena-jar] Copying jars from C:\Users\RM316CSHP2/wpilib/java/current/lib/WPILib.jar:C:\Users\RM316CSHP2/wpilib/java/current/lib/NetworkTables.jar: to build/jars.
[copy] Copying 2 files to C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\build\jars
[jar] Building jar: C:\Users\RM316CSHP2\Desktop\Robotics\Run-Motor\dist\FRCUserProgram.jar
get-target-ip:
[echo] Trying Target: roboRIO-219-FRC.local
[echo] roboRIO found via mDNS
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 roboRIO-219-FRC.local:22
[sshexec] cmd : test -d /usr/local/frc/JRE
deploy:
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-219-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-219-FRC.local:22
[sshexec] cmd : killall -q netconsole-host || :
[scp] Connecting to roboRIO-219-FRC.local:22
[scp] done.
[echo] [athena-deploy] Starting program.
[sshexec] Connecting to roboRIO-219-FRC.local:22
[sshexec] cmd : . /etc/profile.d/natinst-path.sh; /usr/local/frc/bin/frcKillRobot.sh -t -r;
[sshexec] killall: lvrt: no process killed
[sshexec] Remote command failed with exit status 1
[sshexec] Connecting to roboRIO-219-FRC.local:22
[sshexec] cmd : sync
BUILD SUCCESSFUL
Total time: 14 seconds
and here is the RioLog output (there's a load of these messages oncoming every 2 seconds or so)
➔ Launching «'/usr/local/frc/JRE/bin/java' '-jar' '/home/lvuser/FRCUserProgram.jar'»
execvp: No such file or directory
What I think is that this means that there is no JRE on the rio, however we did successfully install it (or so the person who did it said so)