> For the complete documentation index, see [llms.txt](https://doczhcn.gitbook.io/junit5/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doczhcn.gitbook.io/junit5/index/index/java-versions.md).

# 支持的Java版本

JUnit 5在运行时需要Java 8（或更高版本）。当然，您仍然可以测试使用以前版本的JDK编译的代码。
