Log in

View Full Version : Release - FRC Network Monitor


linuxboy
16-12-2011, 15:17
Hi all,
Last night I wrote a quick little network monitor in Java for FRC. The design isn't great, but it just indicates whether or not certain devices are connected to the network. This does not change IP settings, those must be properly set up on the same subnet as those devices, or, have a route to them.

Oliver

RoboMaster
16-12-2011, 18:12
Great idea, but it didn't work for me. I tried to run it and it gave me an error that a main file was missing. See picture, hope that helps.

linuxboy
16-12-2011, 18:34
Interesting, try running it from the command line by navigating to the folder its in and running java -jar FRCNetworkMonitor.jar

I'll see if I can recreate the behavior as well.

Oliver

linuxboy
17-12-2011, 00:02
I compiled it on windows, hopefully that will help. The updated version is in the first post.

Let me know if it works.

Oliver

RoboMaster
17-12-2011, 00:13
Nope, the updated version gives the same results.

This is on Windows 7 64bit, so maybe that changes things...

linuxboy
17-12-2011, 01:11
Okay, that should fix it. Netbeans does some weird stuff when it compiles, and it does not include some of the supporting classes in the main .jar

To fix it I just zipped up the entire "dist" folder. You should be able to unzip that, and double click the .jar file, and have it run.

Oliver

RoboMaster
17-12-2011, 01:23
That did it. Looks great. I don't have the robot handy of course, but I'll be sure to try it out. Thanks!

jhersh
21-12-2011, 16:45
Okay, that should fix it. Netbeans does some weird stuff when it compiles, and it does not include some of the supporting classes in the main .jar

You need to pull the jar file from the "dist/full" dir instead of from "dist". It contains all needed support libraries.