Skip to content

Ghidra is a software reverse engineering (SRE) framework

GT-2725: Preventing log4j from using optional jansi.dll on Windows (#286).

Ryan Kurtza252ec1c1fff
diff --git a/Ghidra/RuntimeScripts/Common/support/launch.properties b/Ghidra/RuntimeScripts/Common/support/launch.properties
index 29583412e6..eb7f7a0396 100644
--- a/Ghidra/RuntimeScripts/Common/support/launch.properties
+++ b/Ghidra/RuntimeScripts/Common/support/launch.properties
@@ -68,3 +68,6 @@ VMARGS=-Dfont.size.override=
# generates uncaught exceptions. Disabling it can be helpful when trying to debug what went
# wrong because the ContinuesIntercepter affects the usefulness of the stack trace.
#VMARGS=-DContinuesInterceptor.disabled
+
+# Prevent log4j from using the Jansi DLL on Windows.
+VMARGS=-Dlog4j.skipJansi=true