Reputation: 673
I'm going to develop a complex Java application which should run on a machine with Debian 8.6 and JRE 8u71 installed. Furthermore, the application makes use of some Java classes, developed and compiled in Matlab.
By now, Matlab (Version R2015b - R2017a) supports Java version 7u61. So I would like to know if anyone has some experience with using Matlab and a JDK 8 installation. I know about following article:
but I'm not sure if this is quite a good idea. Furthermore, will this change the Java version of the Matlab Compiler Runtime as well? For testing it is also necessary for me to integrate some Java classes (version 8u71) in Matlab.
Any help is highly appreciated.
Thanks in advance!
Upvotes: 4
Views: 2019
Reputation: 4077
I've been using Matlab 2015b with Java 8 on both Windows and Linux for a while now (through setting MATLAB_JAVA
environmental variable), and never experienced any issues (unlike when I tried using some older Matlab versions with Java 7). This lets you use java classes compiled with Java 8, i.e. all the fancy language features like lambdas etc.
Upvotes: 3