I'm trying to import a custom fat jar that has a dependency on guava-19.0 or higher. The matlab version I'm using already has a guava jar in it's classpath, but it's version 15.0. I've tried removing the jar from matlab's classpath.txt file, but matlab won't start if I do this. I've also tried creating a javaclasspath.txt file in my working directory with the lines:
<before>
path/to/myjar.jar
But that doesn't let matlab start either. Adding my jar directly to classpath.txt so it's in the static path instead of the dynamic also gives me an error when starting matlab. I'm using matlab 2016.