How to modify the static Java path
2 次查看(过去 30 天)
显示 更早的评论
The instructions here describe how to add JAR files to the bottom of the static Java path. Dynamic entries also are used last. This means we cannot replace any of the JAR files that come with MATLAB.
I have an Apple Silicon machine, MATLAB R2023b, and Amazon Coretto JVM installed according to the MATLAB installation instructions.
This version of MATLAB comes with a jna.jar in $MATLABROOT/java/jarext/svnkit/jna.jar that doesn't work in Apple Silicon (it has a shared object built in that works on i386, x86_64 and ppc7400 (which makes me think this is a really old version!).
I've downloaded a newer version of this JAR, but I cannot get MATLAB to use the newer version. Is my only hope to overwrite the file that comes with MATLAB?
2 个评论
Mohammad Sami
2024-7-10
create a backup of the file and then overwrite it. you will have to do it at your own risk as there maybe other functionality that depends on this.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!