HotswapProjects / HotswapAgent

Java unlimited redefinition of classes at runtime.
GNU General Public License v2.0
2.32k stars 489 forks source link

Which file should I use from JetBrains latest releases? #434

Open MightyCoderX opened 2 years ago

MightyCoderX commented 2 years ago

http://hotswapagent.org/mydoc_quickstart-jdk17.html

This page links to the jbr releases but doesn't say which file you should download. And in the latest versions there's no file which has dcevm in its name. So which file should I download now?

skybber commented 2 years ago

All jbr17 binaries have built-in dcevm. Just select image for your OS+architecture.

MightyCoderX commented 2 years ago

Does that mean the one i've installed with intellij has dcevm too?

release file

JAVA_VERSION="17.0.3"
MODULES="java.base java.datatransfer java.xml java.prefs java.desktop gluegen.rt java.compiler java.instrument java.logging java.management java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.transaction.xa java.sql java.sql.rowset java.xml.crypto java.se java.smartcardio jogl.all jcef jdk.accessibility jdk.internal.jvmstat jdk.attach jdk.charsets jdk.compiler jdk.crypto.ec jdk.crypto.cryptoki jdk.crypto.mscapi jdk.dynalink jdk.hotspot.agent jdk.httpserver jdk.internal.ed jdk.internal.le jdk.internal.vm.ci jdk.javadoc jdk.jcmd jdk.jdwp.agent jdk.jdi jdk.jfr jdk.jsobject jdk.localedata jdk.management jdk.management.agent jdk.management.jfr jdk.naming.dns jdk.naming.rmi jdk.net jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported jdk.unsupported.desktop jdk.xml.dom jdk.zipfs"
IMPLEMENTOR="JetBrains s.r.o."
IMPLEMENTOR_VERSION="JBR-17.0.3+7-469.37-jcef"
LIBC="default"
OS_ARCH="x86_64"
OS_NAME="Windows"
SOURCE=".:git:bff39eae86f7+"
MightyCoderX commented 2 years ago

I installed the HotswapAgent Intellij plugin and it says that the current project's jdk doesn't have DCEVM and I selected the jbr-17

skybber commented 2 years ago

You can check it with -XX:+AllowEnhancedClassRedefinition, if dcevm is not built-in then JVM will print error.