Red Robot Code Indicator

So, my team bough a second roboRio this year so that we can have a separate board for programmers, and we have been having a lot of issues with it. When we power cycle the rio and deploy code, there is an exit status 1 error below:

Buildfile: C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\build.xml
Trying to override old definition of task classloader
[delete] Deleting directory C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\build
[delete] Deleting directory C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\dist
[mkdir] Created dir: C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\build
[echo] [athena-compile] Compiling src with classpath=C:\Users\robotics/wpilib/java/current/lib/WPILib.jar:C:\Users\robotics/wpilib/java/current/lib/NetworkTables.jar: to build
[javac] Compiling 1 source file to C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\build
[echo] [athena-jar] Making jar dist/FRCUserProgram.jar.
[mkdir] Created dir: C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\dist
[mkdir] Created dir: C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\build\jars
[echo] [athena-jar] Copying jars from C:\Users\robotics/wpilib/java/current/lib/WPILib.jar:C:\Users\robotics/wpilib/java/current/lib/NetworkTables.jar: to build/jars.
[copy] Copying 2 files to C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\build\jars
[jar] Building jar: C:\Users\robotics\git\Robot2015Recycle\Robot2016\Tank Drive\dist\FRCUserProgram.jar
[echo] Trying Target: roboRIO-2141-FRC.local
[echo] roboRIO found via mDNS
[echo] roboRIO image version validated
[echo] Checking for JRE. If this fails install the JRE using these instructions:
[sshexec] Connecting to roboRIO-2141-FRC.local:22
[sshexec] cmd : test -d /usr/local/frc/JRE
[echo] [athena-deploy] Copying code over.
[scp] Connecting to roboRIO-2141-FRC.local:22
[scp] done.
[sshexec] Connecting to roboRIO-2141-FRC.local:22
[sshexec] cmd : killall -q netconsole-host || :
[scp] Connecting to roboRIO-2141-FRC.local:22
[scp] done.
[echo] [athena-deploy] Starting program.
[sshexec] Connecting to roboRIO-2141-FRC.local:22
[sshexec] cmd : . /etc/profile.d/; /usr/local/frc/bin/ -t -r;
[sshexec] killall: lvrt: no process killed
[sshexec] Remote command failed with exit status 1
[sshexec] Connecting to roboRIO-2141-FRC.local:22
[sshexec] cmd : sync
Total time: 10 seconds

We assume that this just means there isn’t any code running on the rio, since it just power cycled, because when we deploy code a second time, there is no error.

However, the main issue we have is that on the driver station, the Robot Code indicator is red, even when there is communication. At no point have we seen it turn green, even when we deploy sample projects. We have reimaged and reupdated the firmware for the rio multiple times. The plugins are up to date. Any help would be appreciated.

is there any NetConsole/RioLog or ds log feedback?

The Riolog has this message continuously repeating:

âž” Launching «’/usr/local/frc/JRE/bin/java’ ‘-jar’ '/home/lvuser/FRCUserProgram.jar’»
execvp: No such file or directory

We tried downloading the JRE to the rio, and we got this message: Error when setting permissions on executables 1