diff --git a/build/windows/config.xml b/build/windows/config.xml
index f8eb1b995..cb4071f10 100755
--- a/build/windows/config.xml
+++ b/build/windows/config.xml
@@ -23,18 +23,18 @@
lib/ant.jar
lib/ant-launcher.jar
- core/library/javafx.base.jar
- core/library/javafx.controls.jar
- core/library/javafx.fxml.jar
- core/library/javafx.graphics.jar
- core/library/javafx.media.jar
- core/library/javafx.swing.jar
+ core/library/javafx.base.jar
+ core/library/javafx.controls.jar
+ core/library/javafx.fxml.jar
+ core/library/javafx.graphics.jar
+ core/library/javafx.media.jar
+ core/library/javafx.swing.jar
java
-Djava.library.path=lib;core/library
--module-path=core/library
@@ -50,12 +50,12 @@
-Djna.nosys=true
+ directory won't be considered. And we can't specify the user's
+ directory here because that'll get us into encoding trouble.
+ (See https://github.com/processing/processing/issues/3624)
+ Instead, set this so that Native.loadNativeLibrary() will use
+ new File(path, "jnidispatch.dll") which will be relative to the
+ directory of processing.exe (the current working directory). -->
-Djna.boot.library.path=lib
-Djna.nounpack=true