Eclipse Doesn't Even Start to Deploy

Hey everyone!

I have been plagued with a big-time issue that I just can’t wrap my head around.

I have eclipse neon installed on my windows 10 (64bit) laptop.

This is a fresh copy of windows, so no FRC related materials installed.

I go ahead and install the FRC Update for 2017, but I do not install the LabVIEW update as we don’t use LabVIEW, we use Java.

I open up Eclipse install the FRC plugin as given in screensteps, and restart.
I set my team number in preferences.

This is not my first time coding in Java for FRC so I make a new project and start doing my thing.

When it comes to deploying my code, I get no console output whatsoever in eclipse (it kinda turns dark for a second, but no errors or anything.)

I have linked the GIF of the problem here - https://gyazo.com/c8d74d53c8bb5b3926f57f66f881091b

What I have tried:

  1. Reinstalling eclipse
  2. Reinstalling the WPI Plugin latest

Please let me know if I missed a step or anything as this has become a serious annoyance to me.

From the main menu, select Window > Show view > Other. Then select General > Error Log.

See if anything pops up in that error log.

Background which I will explain far more poorly than the WPILib folks could:

When you click that button in eclipse, it runs some WPIlib code which eventually kicks off an ant build (see build.xml) and pipes the output to the console window you referenced. This ant build is what actually does the java compile for the code and deploys it to the robot.

The thing I referenced at the start is eclipse’s internal log. It might give info about why the WPIlib libraries are not calling the ant build (or at least not piping its output to that console pane).

Windows 10 itself should not be an issue - we ran with this all last year and this summer without issue.

Thanks a ton for responding!

I did what you said, and sure enough, I saw that there were errors with Ant…and surprisingly…something related to the JDK…

I have posted screenshots of all the errors below, please let me know if you need any more information and I will gladly respond quickly =)

Main Error Log - https://imgur.com/a/fJ6q8

Error Logged from Ant UI - https://imgur.com/a/8iYzO

Error during launch (something related to JDK) - https://imgur.com/a/RRY0S

From what I can understand, looks like it is trying to access JDK, but not able to find it or something along those lines. I will try to reset the PATH again and see what happens.

Once again, thanks a ton for your help.

Well, I was able to fix the issue…

Looks like for some reason it thought I had JDK 9 and pointed to a non-existent folder on my C drive, looks like that was the issue.

I just changed it…and voila…it started working…

Thanks a lot for your response =)

Sounds like the majority of the problems I run into on my job :slight_smile: - $1 to turn the knob, $99 to know which knob to turn. No worries, glad it’s working!