MATLAB Answers

0

Why do MATLAB 6.5.1 (R13SP1) and earlier versions fail to launch after creating a java.opts file to debug my Java application?

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.

MathWorks Support

1 Answer

Answer by MathWorks Support Team on 27 Jun 2009
 Accepted Answer

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

Sign in to comment.