JAVA_VERSION get version of Java Virtual Machine
this gives a long string with more detail version('-java')
Published with MATLAB® R2026a