I think the commapi package is NOT the javax.comm package,
which is an older version of port access (no longer) supplied
by SunMicro. I have a bootleg on my site:
    http://www.etantdonnes.com/TMP/javacomm20-win32.zip
if you want to try it. The zip contains an installer and instructions.
MS


preeti k wrote:
Hello,
I am using tinyos1.x on cygwin. I need to experiment with mote to pc communication. I am following the instructions in lesson 6. When i try to run the Listen class , i get the following exception. $ java net.tinyos.tools.Listen Exception in thread "main" java.lang.NoClassDefFoundError: javax/comm/SerialPort
EventListener
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100 (Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)..................... I tried to follow the discussion on the same issue in the archives and accordingly copied getenv.dll to system32 directory. But i still get the same error. I have installed the java.comm package(commapi) as given in the installation instructions. The archives on this issue say that the error is possibly due to 2 JVMs on the machine . I tried to check this out but i have only one JVM. Incidentally i am using JDK 1.5 and not JDK 1.4 Could it be that the error is because tinyos looks for jdk 1.4 and cannot use jdk1.5? or could it be something else? Another point is i am using tossim ( hence is say export MOTECOM=serial) and not real motes for serial communication.Though i doubt it,does this have anything to do with the above error? Can someone please help me out? Your help is really valuable to me. Thanks in advance, -Preeti

------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to