Hi,

 I m trying to modify the Listen.java file for fetching the light value as its done in oscilloscope application. In which I have modified some of the content of Listen.java file. I have made it extended with applets. So when I  m trying to run it with

 appletviewer Listen.java

 It shows the FOLLOWING ERROR
$ appletviewer Listen.java
java.lang.NoClassDefFoundError: Listen (wrong name: net/tinyos/tools/Listen)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:148)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:567)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:496)
        at sun.applet.AppletPanel.run(AppletPanel.java:293)
        at java.lang.Thread.run(Thread.java:536)


So I think there is problem with class path setting But where I can set the path..
because It seems all files are compiled! with make command..

so please let me know which file to edit for setting classpath OR its the different problem..

thanks


Yahoo! Photos
Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.
_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to