The tinyos.jar file under /opt/tinyos-2.x/support/sdk/java is about 1,68 MB and if you uncompressed it you'll find that a lot of .java are missing, so if you use it in your CLASSPATH variable you won't be able to run without any errors any Java application un TinyOS 2.x.
The incomplete jar