I am currently working on a team project trying to create a robot that will traverse a maze and report any obstacles back to the pc and display a GUI for the user. We have tried for a few days trying to get the BT connection to work and we are stumped and have yet to get any successful code to work on the PC side.

However when it comes to the PC code we haven't really found anything that we could use. We were trying to use something like this:NXTComm nxtComm = NXTCommFactory.createNXTComm(NXTCommFactory.BLUETOOTH);However it is not allowing us to compile anything with this line specificly. Some of the links I have read mentioned that you need to download a diffrent .jar file for the BT communication to work, but we aren't even at the baby steps. Can someone provide a link or some code or advice on how to actually connect the PC to the NXT and transfer some sample data?

On a side note is there a way to compile and run code in an ide for the pc side? (I tried eclipse but couldn't find a way to DL the plugin).

Wow. I can't believe I overlooked that. Quick and potentially dumb questions://You need pccomm.jar and bluecove.jar on the CLASSPATH

Where would I get these two files, and more importantly what do I need to do with them? I am assuming that I will just need to have these in a certain directory... but so far my assumptions have yeilded no good results.

Then, how do I compile and run with with javac? Would it be something like C:> javac example.java ?

also at the top of the samples it includespackage org.lejos.pcsample.btsend;

pccomm.jar and bluecove.jar are part of leJOS. You already have them on your computer.Use the -cp argument of javac to add them to the classpath. You might also want to try nxjpcc and nxjpc to compile/launch programs. These scripts will call javac/java with the appropriate classpath.