Use java runtime on newer JVM
显示 更早的评论
I have a matlab executable that I run in a Tomcat servlet. My development machine is Ubuntu 16.04 with Oracle JDK 8.xx. I am using Matlab 2019b and the correspnding MCR. The servlet runs without issue. Now I'm moving the system to AWS, which requires me to configure a new Ubuntu image. I don't have any way to install Oracle JDK 8 (or 9) on this machine, as they are end-of life. The servlet seg faults in the jdk library, presumably because it was compiled in JDK 8. I have installed open-jdk-8 on the AWS image, but it seems like there should be a more elegant solution.
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Deploy to Java Applications Using MWArray Data API 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!