How to update a .jar file in Matlab?

8 vues (au cours des 30 derniers jours)
Rozerin
Rozerin le 28 Sep 2023
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?

Réponse acceptée

Sachin Lodhi
Sachin Lodhi le 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.

Plus de réponses (0)

Catégories

En savoir plus sur Java Package Integration dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by