There is a Java package which I want to be able to use in MATLAB. The developers for this package refer to Maven when it comes to adding this package to your projects. Now on Maven Central Repository I was able to download the JAR-file for the package but it appears this really only contains the package itself without all its dependencies; so just adding that to MATLAB then did not work. It appears that I manually need to go through and download all these dependencies (and their dependencies, etc.) separately and then add all those dependencies on the Java classpath in MATLAB. Is there an easier way to do this? Can I provide a Maven <dependency> node to MATLAB and then have MATLAB resolve all dependencies automatically.

# MATLAB: Can I load Java classes into MATLAB R2020b using Maven

MATLAB

###### Related Question

- MATLAB 7.10 (R2010a) returns Null when using getElementByID
- Do I see a “java.lang.NullPointerException” in the installation log when trying to install a support package
- Am I not able to start license manager at boot on OS X 10.10 Yosemite
- Does the .NET option disappear from the Project Settings when I use DEPLOYTOOL in MATLAB 7.3 (R2006b)
- How to resolve ulimit related issues in R2017a on macOS Sierra
- How to apply HTML formatting to uicontrol tooltips in MATLAB 7.2 (R2006a)
- How to create a pictogram in MATLAB

## Best Answer