

Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts. These downloads can be used for any purpose, at no cost, under the Java SE binary code license. If you are not compiling MATLAB code or developing Java applications, you can install the Java Runtime Environment (JRE™) instead of the JDK to run Java applications. Download the Java including the latest version 17 LTS on the Java SE Platform. To develop Java applications, you must install the proper version of the Java Developer's Kit (JDK). Choose Eclipse IDE for Java Developers and Windows x8664 (e.g., eclipse-java-202x-xx-R-win32-x8664.zip - about 313MB) Download. For instructions on how to install MATLAB Runtime, see Install and Configure MATLAB Runtime Install and Configure MATLAB Runtime.

Your target machine has MATLAB or MATLAB Runtime installed. You can specify a classpath either in the javac command or in the CLASSPATH system environment variable. Your classpath contains the MATLAB javabuilder library JAR file and the JAR files for the packages containing your compiled MATLAB code. The JAVA_HOME environment variable is set to the folder containing your Java installation. For updated Java system requirements, see MATLAB Interfaces to Other Languages.

Your development system uses a version of the Java Developer’s Kit (JDK™) that is compatible with MATLAB.
