[Tinyos-help] java.lang.NoClassDefFoundError: net/tinyos/tools/Listen
Janos Sallai
sallai at isis.vanderbilt.edu
Tue Nov 4 07:33:47 PST 2008
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 <jyweavis at gmail.com> 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.
>
> jason at jason-laptop:~$ 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 <eekeller at psu.edu> 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 <jyweavis at gmail.com> 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
>> > Tinyos-help at millennium.berkeley.edu
>> >
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>> >
>> _______________________________________________
>> Tinyos-help mailing list
>> Tinyos-help at millennium.berkeley.edu
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20081104/3d2e8954/attachment-0001.htm
More information about the Tinyos-help
mailing list