How to update a .jar file in Matlab?
8 views (last 30 days)
Show older comments
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?
0 Comments
Accepted Answer
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.
1 Comment
Walter Roberson
on 4 Oct 2023
The user was looking to create a new .jar file that would work with their newer version of MATLAB.
More Answers (0)
See Also
Categories
Find more on Java Package Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!