diff --git a/java/rocksjni.pom b/java/rocksjni.pom
index 74676fdf4..7187523cb 100644
--- a/java/rocksjni.pom
+++ b/java/rocksjni.pom
@@ -60,7 +60,7 @@
maven-surefire-plugin
2.18.1
- -ea -Xcheck:jni -Djava.library.path=${project.build.directory}
+ ${argLine} -ea -Xcheck:jni -Djava.library.path=${project.build.directory}