tags:

views:

11

answers:

0

Hi Guys,

I am trying to compile and upload my program to the robot but i am getting linking errors that my .class file is not found in the class path.

This is my .bat file:


@echo off

f:

cd "F:\Program Files\eclipse\workspace\src\testRobot"

call nxjc *.java

call nxj -d 001653081321 -b RobotReceiverMainAPP


After i run it i get this error:

leJOS NXJ> Linking...
an error occurred: Class crossing.CrossingReceiverAPP (file testRobot/RobotReceiverMainAPP.class) not found in CLASSPATH C:\Program Files\leJOS NXJ\lib\classes.jar;. 

I just added "C:\Program Files\leJOS NXJ\lib\classes.jar;" also to my classpath but it is still not working.

Please can someone point to me what is going wrong.

I have my leJOS libraries in "C:\Program Files\leJOS NXJ\lib" folder.

what should i do or add to my class path to make it work.

thanks