How to update a .jar file in Matlab?

8 次查看(过去 30 天)
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?

采纳的回答

Sachin Lodhi
Sachin Lodhi 2023-10-4
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Java Package Integration 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by