I used Matlab 2015b with Java 8 for both Windows and Linux for a while (using a parameter MATLAB_JAVA) and never experienced any problems (unlike when I tried to use some older versions of Matlab with Java 7). This allows you to use java classes compiled with Java 8, that is, all the attractive features of the language, such as lambdas, etc.
source
share