title: Using the Matlab-Java-API gives "no nativemvm in java.library.path"
body: <p>I am trying to run a Matlab function (Matlab 2017a) from Java (as shown <a href="https://de.mathworks.com/help/matlab/matlab_external/execute-matlab-functions-from-java.html?requestedDomain=www.mathworks.com" rel="nofollow noreferrer">here</a>) and want to use the Java Matlab engine API for this purpose. I started adding the engine.jar file to the external libraries (I'm using the IntelliJ IDE). However, this gives the following error: "Exception in thread "main" java.lang.UnsatisfiedLinkError: no nativemvm in java.library.path"</p>
  
  <p>A first search got me <a href="https://de.mathworks.com/matlabcentral/answers/320234-using-java-api-gives-no-nativemvm-in-java-library-path" rel="nofollow noreferrer">here</a> where it says that the matlabroot should be added to the PATH permanently. So I checked my PATH using the Windows UI to find that <strong>matlabroot\R2017a\bin</strong> is already included. However, in my case I still get the error and have no idea what to do now. Any help is highly appreciated.</p>