Skip to content
Advertisement

TravaOpenJDK11 – HotSwapAgent – DCEVM installation not found

I’m trying to use the HotSwapAgent plugin in IntelliJ. So, I have set as “agent path” the path of hotswap-agent.jar (found in the Trava Open JDK folder) that I downloaded from here. But as you can see here, I get the following error:

DCEVM installation not found for JDK specified for the current project. You should download and install it.

However, the download link redirects here, where there are installers only up to version 8 (which seems reasonable to me since the Trava Open JDK 11 I’m trying to use is already patched and includes its own agent.

So, what am I missing here?

Advertisement

Answer

Well, the version you mention does not require the use of the HotSwapAgent plugin or of any other plugin.

What you have to do is define the folder dcevm-11.0.15+1 as JDK and put the following argument in the VM options of your project’s debug configuration, in IntelliJ:

-XX:HotswapAgent=fatjar

or

-XX:HotswapAgent=core

In fatjar mode all plugins will be available. In core mode only core JVM plugins will be available.

Advertisement