Use java runtime on newer JVM

2 次查看(过去 30 天)
Jeff Mandel
Jeff Mandel 2019-10-29
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 个)

类别

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

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by