PARAMIO wrote:Hi
I´m proving the sample code BTSend and as it says I run it using javac instead of nxjc. lejos.pc.comm does not exist...
I´m using Eclipse and I comprove the enviroment variables without finding out what is wrong...
please, anyone could help me?
Yes, nxjc is for programs that run on the brick.
So you do need regular javac. Try the nxjpcc script. That sets up your environment to run correctly. Well, the version in svn works but the .85 version uses --bootclasspath which breaks it.
Anyway, look at the script and see what you need in your classpath. If nxjpcc doesn't run on your command line you can:
1) try to come up with a suitable command line command without using --bootclasspath . You can look here
http://lejos.sourceforge.net/forum/viewtopic.php?t=2062&highlight=nxjpcc or search the forum for nxjpcc
2) get the jars you need into your eclipse environment. If you look at the run --> find your class and set up your environment