Java JPA Class for MATLAB

前端 未结 5 1979
萌比男神i
萌比男神i 2020-11-27 07:54

I\'m using MATLAB R2007b, Java 1.6 SE, Eclipse Helios, and MySql 5 on Windows XP Pro SP3.

I\'m trying to create a class library that uses JPA annotations to access a

5条回答
  •  面向向阳花
    2020-11-27 08:42

    While working with Java in MATLAB, I often encountered issues with the dynamic classpath. As a workaround, using classpath.txt has solved any issue so far.

    Dealing with different environments, for example testing and production, results in multiple classpath.txt files in your MATLAB start directory. Using different MATLAB releases adds another multiplier to the number of classpath.txt files around.

    ClassPathHacker.java is an option to add dynamically classes and jar files to your static classpath. Using this approach there is no need to touch classpath.txt anymore. Your Java classpath configuration can stay in the intended place startup.m.

提交回复
热议问题