Why do MATLAB 6.5.1 (R13SP1) and earlier versions fail to launch after creating a java.opts file to debug my Java application?
2 views (last 30 days)
Show older comments
I added the following lines of code to my java.opts file:
-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n
Then when I launched MATLAB, the splash screen appeared, but nothing else happened.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
The usual cause for this behavior in the 1.3.1 JVM and earlier is that the JVM cannot locate jdwp.dll, which is required for debugging. You must put the location of jdwp.dll on your system path so that the runjdwp statement can find it. The location of the jdwp.dl for the JVM shipped with MATLAB is:
$MATLAB\sys\java\jre\win32\jre\bin
where $MATLAB is your root MATLAB directory.
To add this directory to your system path, follow the link under related solutions.
0 Comments
More Answers (0)
Categories
Find more on C Shared Library Integration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!