Matlab call the jar package

6 views (last 30 days)
jingwie sun
jingwie sun on 19 Jun 2017
Answered: Kojiro Saito on 25 Jun 2017
I added the jar package path to '$matlabhome/toolbox/local/classpath.txt', but CANNOT call it using matlab script, and given massage as follows: Error using javaObject No class redis.clients.jedis.jedis can be located on the Java class path Why & how to solve this problem

Accepted Answer

Kojiro Saito
Kojiro Saito on 25 Jun 2017
Did you restart MATLAB before calling jar files?
You need to restart MATLAB to affect any changes in $matlabhome/toolbox/local directory.

More Answers (0)

Categories

Find more on MATLAB 中的 Java 库 in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!