mcr hangs when running java program that wraps matlab compiled java jar

1 view (last 30 days)
I'm using MCR v93 to compile a simple matlab program into a java jar. This appears to work. I then create a new java program and add the matlab compiled jar file as a library. I can create the java objects and the java code compiles. When I try to run the program it gets to the first isntance of trying to instantiate the first matlab object and the java code just hangs. No errors are seen. The java program just hangs on the instantiation of the object. I'm using Windows 10, Netbeans 8.2, and java jdk 1.8_181. I have tried this with several different matlab programs and it always does the same thing. Any help would be appreciated.
I have no way of posting the code.

Answers (0)

Tags

Products


Release

R2017b

Community Treasure Hunt

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

Start Hunting!