Hi Abhishek,

Extracting the .jar file should not be a problem (except using a bit 
more space). Once you configure the CLASSPATH variable correctly, Java 
should use the version inside tinyos.jar.

I think you have a spelling mistake in your CLASSPATH definition.

/opt/tinyos-2.1.0/tinyos/support/sdk/java/tinyos.jar (CLASSPATH)
vs.
/opt/tinyos-2.1.0/support/sdk/java/tinyos.jar

There is a "tinyos" too much between tinyos-2.1.0 and support.

Cheers,
Urs


Abhishek Phadnis wrote:
> x...@ubuntu:~$ echo $CLASSPATH
> /opt/tinyos-2.1.0/tinyos/support/sdk/java/tinyos.jar;.
> x...@ubuntu:~$ jar -tf /opt/tinyos-2.1.0/support/sdk/java/tinyos.jar | grep
> SerialForwarder
> net/tinyos/sf/SerialForwarder.class
> net/tinyos/sf/SerialForwarder$SFMessenger.class
> x...@ubuntu:~$
> 
> ummm i think i screwed up a bit..i extracted the tinyos.jar file in the same
> directory /java ...serious consequences?
> 
> 2009/4/30 Urs Hunkeler <[email protected]>
> 
>> Your setup should work as is (without any need for extracting tinyos.jar).
>> What is the output of the following commands?
>>
>> echo $CLASSPATH
>> jar -tf /opt/tinyos-2.1.0/support/sdk/java/tinyos.jar | grep
>> SerialForwarder
>>
>> The second command should be on a single line. You might want to copy/past
>> it.
>>
>>
>> Cheers,
>> Urs
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to