Also, your classpath should contain the jar name rather then the directory. MS
Janos Sallai wrote: > It looks as if your tinyos.jar file were corrupted. You can either > rebuild it (make clean; make) or fetch it from the CVS: > http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x/support/sdk/java/ > > Janos > > On Mon, Nov 3, 2008 at 10:03 PM, Jason Weaver <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Sorry for the delayed response I have been busy today. I typed this > in my terminal window and as you can see the results below. > > [EMAIL PROTECTED]:~$ echo $CLASSPATH > :/opt/tinyos-2.1.0/support/sdk/java > > This is the information I have typed in my .bashrc file I think it > is right. > source /opt/tinyos-2.1.0/tinyos.sh > PATH=/usr/lib/jvm/java-1.5.0-sun/bin:$PATH > > I looked at my tinyos.jar file with archive manager and it doesn't > have the tools folder listed as a source. Like all of the other > folders located within the net file. I think I need to add the > tools folder as a source to my tinyos.jar file but I don't know how > to do this. > This is the path to the file: > /opt/tinyos-2.1.0/support/sdk/java/net/tinyos/tools > > I have tried to add the folder using the gksudo -g nautilus browser > and archive manager. When I did this I got this error listed below: > zip warning: name not matched: net/tinyos/tools/Send.java > zip warning: name not matched: net/tinyos/tools/PrintfClient.java > zip warning: name not matched: net/tinyos/tools/MsgReader.java > zip warning: name not matched: net/tinyos/tools/ListenRaw.java > zip warning: name not matched: net/tinyos/tools/Listen.java > > zip error: Nothing to do! > (/opt/tinyos-2.1.0/support/sdk/java/tinyos.jar) > > I don't know what to do from here. If you could offer any asistance > I would greatly appreciate it > > Jason > > On Sun, Nov 2, 2008 at 7:52 PM, Eric Keller <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Did you set up your environment? Type > echo $CLASSPATH > and tell us what it says. > > > On Sat, Nov 1, 2008 at 12:33 AM, Jason Weaver > <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: > > I am a new user of both Linux and Tinyos. I have installed > tinyos 2.1.0 on > > my Ubuntu machine and when I use the listen command I get the > following > > error: > > Exception in thread "main" java.lang.NoClassDefFoundError: > > net/tinyos/tools/Listen > > I have no idea how to fix this, I have read some of the other > posts but I > > have been unsuccessful. Like I said I am a novice user would > appreciate any > > help you are willing to give. > > > > Jason > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > <mailto:[email protected]> > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > <mailto:[email protected]> > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > <mailto:[email protected]> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
