Can I use an earlier JDK version than the MATLAB JRE version to compile deployed components using MATLAB Builder JA?

4 views (last 30 days)
I have MATLAB 7.11 (R2010b) which ships with the Java Runtime Environment (JRE) version 1.6. Using Builder JA, I would like to compile a deployed Java component using Java Development Kit (JDK) version 1.5, set using the environment variable JAVA_HOME. Is this possible?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Apr 2012
This is not possible. JDK versions used to compile Java components should be the same or later than the JRE that MATLAB ships with.

More Answers (0)

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Products


Release

R2010b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!