dmitry-zhuravlev / hotswap-agent-intellij-plugin

This plugin intends to simplify the usage of http://hotswapagent.org. Agent provides real hotswap functionality together with https://dcevm.github.io which extends JVM class redefinition functionality.
Apache License 2.0
314 stars 34 forks source link

Hotswap agent cannot detect DCEVM 11.0.1+8 #31

Open VTommy opened 5 years ago

VTommy commented 5 years ago

Although DCEVM is successfully installed in my machine. Installed in my machine And the Project SDK has been set to DCEVM The project SDK has been set to DCEVM The project SDK has been set to DCEVM But the how swap agent still cannot detect DCEVM with version 11.0.1+8 The how swap agent still cannot detect DCEVM Any ideas?

alexlavigne commented 5 years ago

me too

mahmoudsafar commented 5 years ago

Same here.

vitalca commented 4 years ago

The same with DCEVM-11.0.5+5

roland-ewald commented 4 years ago

This seems to be caused by file structure changes in the upstream project and the corresponding Java code does not reflect these changes (it seems the paths in ConfigurationInfo are not correct anymore), so these calls to installation seem to cause the issue: https://github.com/dmitry-zhuravlev/hotswap-agent-intellij-plugin/blob/81d77836f15374fa288db83d81f7a3cf8e79252d/src/com/hotswap/agent/plugin/util/DCEVMUtil.kt#L49-L50

One workaround would be to just run installation.versionDcevm and versionDcevmAltjvm and catch any exceptions, as they run java directly and use DCEVM-related output.

ParadauxIO commented 3 years ago

Ran into this myself just now, is there any hope for JDK11 support?

q962 commented 3 years ago

try

add VM Option -XX:HotswapAgent=fatjar Ignore DCEVM installation not found: HotSwap will not work. Download and install DCEVM.