Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to debug a Java webstart application.

Terry BaileySep 11 2014 — edited Sep 11 2014

Hi all,

I am trying to run a javaws application in debug mode, however since changing PC and updating through various versions of Java the application does not seem to stop on load as expected. Also when I try and connect the Eclipse Debugger to it I get a timeout.

This used to work for me but I cannot seem to get it working now.

I am starting javaws with the following command line (Windows 7)

javaws -verbose -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=8123 htvme4.jnlp

I have also tried the old method of doing this by setting the environment variable.

I have tried it as both normal cmd prompt or as one running as administrator.

Anyone any ideas what is wrong? I'm getting desperate now.

Thanks

Terry

Reset my password

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 9 2014
Added on Sep 11 2014
0 comments
461 views