Hello FreeSurfer experts,

I have been running into a matlab-related problem that I was wondering if anyone came across. I am using Matlab2017b with Freesurfer 6.0. Whenever I run selxavg-sess command, the matlab tries to find the OpenGL rendering, then gives a Java fatal error with a failure to find the Java Runtime Environment and exits. (I don't have the command outputs with me right now, sorry.) I have been trying to fix it with getting a better graphics card, OpenGL, getting Octave etc but this error didn't come up when I was using an earlier version of Matlab. I would appreciate any help.

Best
Idil