Download Latest Version scala-cli-x86_64-pc-win32.msi (48.4 MB)
Home / v1.17.1
Name Modified Size InfoDownloads / Week
Parent folder
vc_redist.x64.exe 2026-09-17 18.7 MB
scala-cli.jar 2026-09-17 126.2 MB
scala-cli-x86_64-pc-win32.zip 2026-09-17 44.1 MB
scala-cli-x86_64-pc-win32.msi 2026-09-17 46.8 MB
scala-cli-x86_64-pc-win32-sdk.zip 2026-09-17 42.8 MB
scala-cli-x86_64-pc-linux.rpm 2026-09-17 45.1 MB
scala-cli-x86_64-pc-linux.gz 2026-09-17 45.7 MB
scala-cli-x86_64-pc-linux.deb 2026-09-17 33.4 MB
scala-cli-x86_64-pc-linux-static.gz 2026-09-17 44.0 MB
scala-cli-x86_64-pc-linux-static-sdk.zip 2026-09-17 45.8 MB
scala-cli-x86_64-pc-linux-mostly-static.gz 2026-09-17 45.7 MB
scala-cli-x86_64-apple-darwin.pkg 2026-09-17 43.7 MB
scala-cli-x86_64-apple-darwin.gz 2026-09-17 43.7 MB
scala-cli-x86_64-apple-darwin-sdk.zip 2026-09-17 43.8 MB
scala-cli-aarch64-pc-linux.gz 2026-09-17 44.5 MB
scala-cli-aarch64-pc-linux-static-sdk.zip 2026-09-17 44.7 MB
scala-cli-aarch64-apple-darwin.pkg 2026-09-17 43.6 MB
scala-cli-aarch64-apple-darwin.gz 2026-09-17 43.6 MB
scala-cli-aarch64-apple-darwin-sdk.zip 2026-09-17 43.7 MB
scala-cli 2026-09-17 8.4 MB
README.md 2026-09-17 3.7 kB
v1.17.1 source code.tar.gz 2026-09-17 22.1 MB
v1.17.1 source code.zip 2026-09-17 22.8 MB
Totals: 23 Items   942.7 MB 0

Java 8+ support in the pure Java test runner

Projects with no Scala on the class path are handled by a dedicated, pure Java test runner. It used to be compiled for Java 17, which made it impossible to run such tests on an older JVM. It is now compiled for Java 8, so the whole Java 8+ range is supported again.

:::java title=java-tests/test/MyTests.java
//> using test.dep junit:junit:4.13.2
//> using test.dep com.novocode:junit-interface:0.11
import org.junit.Test;
import static org.junit.Assert.assertEquals;

public class MyTests {
  @Test
  public void addition() {
    assertEquals(4, 2 + 2);
    System.out.println("Tested on Java " + System.getProperty("java.version") + ", no Scala needed!");
  }
}

:::bash
scala-cli test java-tests --jvm 8
# Tested on Java 1.8.0_492, no Scala needed!

Previously, the very same invocation would have died while loading the test runner itself:

:::text
Exception in thread "main" java.lang.UnsupportedClassVersionError: scala/build/testrunner/JavaDynamicTestRunner has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Note: Support for JDK <17 will likely be gradually deprecated, but running tests with Java 8+ is likely to be kept long-term for the sake of backwards compatibility.

Fixed by @Gedochao in https://github.com/VirtusLab/scala-cli/pull/4473

Fixes

Build and internal changes

Updates

Full Changelog: https://github.com/VirtusLab/scala-cli/compare/v1.17.0...v1.17.1

Source: README.md, updated 2026-09-17