node-java
node-java copied to clipboard
Restarting the JVM
Hi, Is there a possability to add an ability to restart the JVM or create a jar hot replacement? The reason I'm asking is because I'm working with node-red and if I'm replacing a jar I need to restart the proccess - something that I can't do in a production environment.
Thanks, Dan
Would like to know this as well
According to Java specification and, AFAIK both Oracle and OpenJDK implementations, there's no way to fully unload the JVM from a process. Since one process can have only one JVM loaded, this implicates that JVM restart without restarting the whole process is impossible.