[Tinyos-help] tinyos,matlab
Philip Levis
pal at cs.stanford.edu
Wed Jul 2 08:58:19 PDT 2008
On May 26, 2008, at 8:56 PM, alka gautam wrote:
> Hi,
>
>
> I've been trying for days to get the Matlab->Java->SerialForwarder
> interface
>
> to work. I get the following error when I try to compile
>
> MatlabControl.java.
>
> MatlabContrl.java:39: cannot access com.mathworks.jmi.Matlab
>
> bad class file: C:\PROGRAM~1\UCB\cygwin\opt\tinyos-1.x\tools\java
> \jars\jmi.jar<com/mathworks/jmi/Matlab.class>
>
> class file has wrong version 49.0,should be 48.0
>
> please remove or make sure it appears in the correct subdirectory of
> the classpath
>
> Matlab matlab = null;// this is the com.mathworks.jmi.Matlab
> class,which has
>
>
> functionality allowing one to interact with the matlab session.
>
> ^
> 1 error
>
>
> This looks to me like it's a problem with the java code, not my
> environment
>
> or setup. If that's the case then someone else must have run into
> this
>
> problem. Please help!!
>
>
You're using an older version of Java. Try updating to a newer Java.
Phil
More information about the Tinyos-help
mailing list