diff --git a/mill-build/util/src/util/JavaModule.scala b/mill-build/util/src/util/JavaModule.scala index e157c8765..bdda38314 100644 --- a/mill-build/util/src/util/JavaModule.scala +++ b/mill-build/util/src/util/JavaModule.scala @@ -40,7 +40,7 @@ trait JavaModule extends BaseJavaModule { def windowsClassPathArgumentFile = T { - val cpString = classPathFileElements().mkString("\"", ";", "\"") + val cpString = classPathFileElements().mkString(";") val cpArg = "-cp " + cpString os.write(T.dest / "classpath", cpArg) T.dest / "classpath"