[Tinyos-help] Need help in Installation Mote iv Invent
Michael Schippling
schip at santafe.edu
Sun Mar 4 12:56:09 PST 2007
It's possible that this is due to using class files compiled under
a later version of Java than the one which you are running, e.g.,
using 1.5's javac and trying to run with 1.4...
Another possibility is that the program is trying to read serialized
classes that have been modified, and thus don't match the old data.
Check all the versions of Java and classes or jars being used to see
if they are up to date. You should be able to run old classes with
new java, but not the other way around.
You might have to debug the program to find out what class is giving
the problem, and thus perhaps which problem it is. Since there doesn't
seem to be a full stack trace in your message, it may be coming from
startup code.
MS
vkoya at memphis.edu wrote:
> Hi
> I am student of the University of Memphis. I am facing a problem in
> installing TinyOS. Mote is detected by Cygwin. While running the Mote iv
> Trawler Application, their is an error displaying
>
>
> "/usr/bin/bash: line 11: [: /home/Vasudha: binary operator expected
> Trawler Application
>
> Detected mote on COM4
>
> Running Trawler Applicaiton
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
> version number in .class file
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
> 4)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> Error. Press ENTER to continue. "
>
>
> Kindly help me.....
>
>
> Thanks
> Vasudha
>
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
More information about the Tinyos-help
mailing list