I've never seen that error before. Perhaps your Java install is bad.

First make sure your PATH points to the correct Java. You said (later)
that it's in C:/program files/java so your PATH should contain something
like:  C:/program files/java/jdk1.5.0_07/bin
I dislike putting Java in "Program Files" because the space in the
directory name causes problems without very careful quoted name management,
so you might also try reinstalling in, say, C:/Java...

Anyway, try:  type javac
and make sure it comes up with the right one.
Then try hand compiling a simple java file:  javac somefile.java
and see if you get the same problem.

MS

Nashwa Abo Elneel wrote:
Hi,

I am trying to run the oscilloscope example in lesson 6 (the installation on the mote was successful), however when i start the normal procedure by typing "make" in the java directory i get a lot of errors like:

exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/javac/main

does anybody have an idea how to solve such error?
i am using jdk1.5 installation and i have installed the javax.comm package in the same way as the installation steps

Regards,
Nashwa

------------------------------------------------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. <http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ >


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to