You should either execute the program (step 3) from the tools/java directory while having a "." in your CLASSPATH, or make sure you have ".../tools/java" in the CLASSPATH, or better yet, both... google classpath and search this list for more info.
MS [EMAIL PROTECTED] wrote: > Hi all, > > I was trying to see the java tool for surge (the visual output which shows > links and connections). These are processes that I followed: > > 1.typed <make pc> in the directory apps/Surge as I am running the TOSSIM > version of it. > > 2.<make > in tools/java/net/tinyos/surge > > 3.<java net.tinyos.surge Mainclass 125> in the tools/java/net/tinyos/surge > directory. > > NOw this is the error message I'm getting 'Exception in thread "main" > java.lang.NoClassDefFoundError: net/tinyos/surge. > > Can anyone pls help me with this? I have beginner knowledge in java. > > Thank you > Nirupama > > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
