[Tinyos-help] Classpath for SerialForwarder?
l.kristin.wright at gmail.com
Fri Sep 23 09:33:46 PDT 2005
The class not found below is a javax.comm class, not the tinyos.net.sf
class. You need to be sure that 'java' is finding the javax.comm
classes. Have you reinstalled/upgraded your jdk recently? When you
type 'which java' does the java come up with a path that includes
something similar to: jdk1.4.1_02/j2sdk1.4.1_02/bin/java? (That's
where the tinyos installer puts the judk distributed with tinyos; you
could have manually placed a 1.4.1 jdk anywhere.) Lastly, check out
some hints here about installing the javax.comm packages here:
On 9/22/05, Gerrit Niezen <gendor at telkomsa.net> wrote:
> I used to be able to run SerialForwarder without any problems on Cygwin
> java net.tinyos.sf.SerialForwarder
> Recently it gives the following error message when connecting to a serial
> port (TOSSIM works fine):
> java.lang.NoClassDefFoundError: javax/comm/SerialPortEventListener
> I assumed it is a classpath problem after browsing the mail archives, but
> I can't seem to set the classpath correctly. If I try to make any changes
> to the classpath it can't even find the SerialForwarder classes anymore.
> toscheck returns the warning: '.' may not be set, but when i run 'set' in
> Cygwin it return .\; as one of the directories.
> Thank you in advance.
> Gerrit Niezen
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
More information about the Tinyos-help