| Wiyang Tan 2007-06-11, 7:13 pm |
| Anthony Seymour wrote:
>
>
> Hi Roy
>
> I had exactly the same problem, which is when I found your post
> while
> searching for a solution. I have since come across a post elsewhere
> from Andreas Henke:
>
> "I have had problems with matlab finding the classes specified in
> classpath.txt. The problem was that they weren't compiled with a
> JDK
> compatible with the JVM in Matlab. Recompiling the java classes (I
> use Borland's JBuilder X) helped."
>
>
> I am using Netbeans 5.5/ JDK 6 to produce class files for use in
> Matlab 2006a. The JVM version of this Matlab is 1.5, whereas the
> one
> bundled with the JDK 6 is 1.6. I tried Andreas' suggestion of using
> Borland's JBuilder, but this did not resolve the issue. I then
> changed the version of the Java Virtual Machine that Matlab uses
> (according to the Matlab help instructions) from 1.5 to 1.6 and I
> am
> now able to load Java classes produced by Netbeans.
>
> Hope this helps.
>
> Regards
> Anthony
Dear Anthony,
your reply has been really helpful. Was facing the same problem as my
Matlab 2006b uses 1.5 instead of 1.6. Has been looking for hours
solutions before I finally stumbled on your post. Thanks a lot!
|