How to update a .jar file in Matlab?

8 views (last 30 days)
I have a jar file that I use in Spring Boot project and allows me to process with Matlab. Since this file was written with R2018a version 9.4 and Java 11, I have problems using it again. How can I update this .jar file for R2023a 9.14?

Accepted Answer

Sachin Lodhi
Sachin Lodhi on 4 Oct 2023
Hi Rozerin,
Based on my understanding, it seems that you are trying to update the .jar file for MATLAB R2023a. To update .jar file, I suggest utilizing the 'javaaddpath' method, which allows you to add one or multiple folders or Java Archive (JAR) files to the beginning of the current dynamic class path.
Please refer to the following MATLAB documentation for more information on ‘javaaddpath’ method.
I hope this helps you in updating the .jar file.
Best Regards,
Sachin.

More Answers (0)

Categories

Find more on Java Package Integration in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!