How can I debug applications under Java Web Start (JNLP)?

前端 未结 9 2292
你的背包
你的背包 2020-11-29 02:29

I know how I can debug a remote Java VM with Eclipse, but how can I do it with a Java Web Start program. I have a problem that only occurs in Java Web Start. It must be secu

9条回答
  •  孤独总比滥情好
    2020-11-29 03:18

    You can also provide the debug parameter to the javaws executable using the -J option

    Example:

    javaws.exe -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000 http://server:port/descriptor.jnlp
    

提交回复
热议问题