HotswapAgent is a Java application which offers unlimited runtime class and resource redefinition for Java projects. Its main purpose is to avoid infamous _change -> restart&wait -> check development lifecycle. Save & Reload during development should be standard and many other languages (including C#).
Questions tagged [hotswapagent]
36 questions
6
votes
1 answer
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…

Kevin Olsen
- 63
- 6
4
votes
0 answers
Java DCEVM - Getting "Could not get dceverion of D:\Java8" for Java 1.8.0.202 version
Java version: 1.8.0_202 JDK
and DCEVM jar [DCEVM-8u181-installer.jar][1]
After executing above jar and on click of button Replace by DCEVM and Install DCEVM as altjvm in UI popup.
I am getting message Could not get dceversion of D:\Java8 and the…

Sameer Jadhav
- 271
- 4
- 10
4
votes
1 answer
How to reload changes / HotSwap reload classes without IDE
Currently my setup consists of vim and a separate terminal window running Gradle tasks.
I want to know if its possible to trigger a reload / recompile changes classes actions for a Gradle daemon so that DCEVM can detect them and reload them.

Haze
- 41
- 1
4
votes
1 answer
Hotswap-agent on JBoss EAP 6.1 - java.lang.OutOfMemoryError: PermGen space
I have an EAR project I'm deploying to Jboss EAP 6.1. The product of my maven build looks like this:
myapp-ear
├── myapp-ejb.jar
├── myapp-web.war
├── lib
│ ├── activation.jar
│ ├── activiti-bpmn-converter.jar
│ ├──…

Mustafa
- 5,624
- 3
- 24
- 40
3
votes
1 answer
TravaOpenJDK new JVM option -XX:HotswapAgent, difference between fatjar and core modes?
TravaOpenJDK introduced a new JVM option -XX:HotswapAgent in version 11.0.9.
There are three modes to enable HotswapAgent, fatjar, core and external.
What is the difference between fatjar and core?

rmuller
- 12,062
- 4
- 64
- 92
3
votes
2 answers
Has anyone had success with Grails 4 / Java 11 and using DCEVM for hotswapping during development?
We upgraded to Grails 4 / Java 11 and lost hot-swapping capabilities during development. I tried DCEVM but the application wouldn't start (errors on first withNewSession call).
Has anyone had success with getting Grails and DCEVM to work together?

user1373467
- 315
- 3
- 12
3
votes
1 answer
java hotswap a library
I am working on a java project with maven, which uses some of my own libraries as dependencies, that are "evolving in paralel".
I am using HotswapAgent to make hot changes while I am debuging but, I don't know if it is possible to make a hotswap…

wiggin200
- 310
- 1
- 4
- 11
3
votes
1 answer
HotSwapAgent Popup No Longer Showing
I'm using HotSwapAgent to avoid server restarts with every code change. For the past year this popup is displayed at the bottom of my IntelliJ window whenever I triggered a swap.
However, last night I accidentally committed wrong files to git, so I…

Mathomatic
- 899
- 1
- 13
- 38
2
votes
0 answers
Can HotSwapAgent reload bean field for use in JSF?
I have installed hotswap agent based on this quick start guide
http://hotswapagent.org/mydoc_quickstart-jdk11.html
Running JSF on a server Wildfly. Webapp with multiple modules.
I noticed when i add a field to a bean like LoginBean hotswap detects…

Pedro Martins
- 21
- 1
2
votes
1 answer
Weblogic Server with Hotswap agent
We are looking a free alternative for jRebel. It seems hotswap agent is a free good alternative for jRebel. But I didn't sure about it supports weblogic server , is there anyone use hotswap agent with weblogic server and how?

İlyas Şahin
- 293
- 2
- 3
- 9
2
votes
1 answer
How does DCEVM patch the JVM?
How does DCEVM patch the JVM so that it can be started both in the normal mode and in XXaltjvm mode? What does it do to the regular libjvm.so/jvm.dll/libjvm.dylib?
From Installing DCEVM

Nfff3
- 321
- 8
- 24
2
votes
1 answer
How to use DCEVM/Hotswap Agent with jar file update?
I am running a java spring boot application as jar file with DCEVM hot-swap agent. When i change some class files in my jar file the application is not reloading those changes. But If I extract my jar file and run my application as a simple java…

Mohd Waseem
- 1,244
- 2
- 15
- 36
2
votes
0 answers
Thorntail with Hotswap agent possible?
Is it possible to configure thorntail (swarm) runner plugin to use HotSwap Agent somehow? I've managed to do so with Wildfly but when I set VM arguments for the agent I get following error: java.lang.ClassNotFoundException:…

Mike
- 812
- 9
- 25
2
votes
0 answers
Hotswapper plugin is not reloading classes in web project
Hotswapper plugin is not reloading classes in web project (JSF, maven based) but resource files(xhtml) are reloading smoothly.
Following are my configurations.
Server: Wildfly11
Java version : 1.8.0_191
DCEVM Vesion: 25.71-b01-dcevmlight-26
Hot…

Raj Kumar
- 347
- 3
- 11
2
votes
0 answers
HotSwapAgent - IncompatibleClassChangeError Type HeaderPanel$1 is not a nest member of HeaderPanel: current type is not listed as a nest member
I have a problem w HotSwap Agent. It is not working correctly.
Setup:
JDK 11 from HotswapAgent.org
Widlfly 14
NetBeans 9
HotSwapAgent 1.3.1-SNAPSHOT
On start i
HOTSWAP AGENT: 08:17:59.098 INFO (org.hotswap.agent.HotswapAgent) - Loading…

Robert Niestroj
- 15,299
- 14
- 76
- 119