diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/mill/util/ClassLoader.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/mill/util/ClassLoader.scala b/core/src/mill/util/ClassLoader.scala index d650aceb..8017c958 100644 --- a/core/src/mill/util/ClassLoader.scala +++ b/core/src/mill/util/ClassLoader.scala @@ -52,7 +52,7 @@ object ClassLoader { private def makeUrls(urls: Seq[URL])(implicit ctx: Ctx.Home): Seq[URL] = { if (ammonite.util.Util.java9OrAbove) { - val rtFile = ctx.home / s"rt-${System.getProperty("java.version")}.jar" + val rtFile = ctx.home / ammonite.runtime.Classpath.rtJarName if (!exists(rtFile)) { cp(Path(Export.export()), rtFile) } |