简体   繁体   English

Java 8中的嵌入式JRE中的JDWP

[英]JDWP in Embedded JRE in Java 8

I keep trying to figure out a how to get jdwp to work with Embedded Java, using either a full jre or compact3 profile. 我一直试图找出如何使用完整的jre或compact3配置文件使jdwp与嵌入式Java一起工作。 In both cases, it cannot find libjdwp.so. 在这两种情况下,都找不到libjdwp.so。

According to this document , it should be supported, except in the minimal VM option of the JRE. 根据该文档 ,应该支持它,除了JRE的最小VM选项。 I am using the ARMv5 Linux (linux-arm-sflt) version, which I suspect might not include this anymore? 我使用的是ARMv5 Linux(linux-arm-sflt)版本,我怀疑它可能不再包含这个版本了吗? It was in the EJRE7 though, so I'm surprised it is missing now. 虽然它在EJRE7中,所以我很惊讶它现在不见了。 Does anyone know about this? 有谁知道这个?

Found the answer, with help from Jim Connors at Oracle. 在Oracle的Jim Connors的帮助下找到答案。

You have to specify --debug (or -g ) option to jrecreate.sh (or jrecreate.bat). 您必须为jrecreate.sh(或jrecreate.bat)指定--debug (或-g )选项。

From the help: 从帮助:

-g, --debug Include Java level debugging support. -g, - debug包含Java级别调试支持。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM