From ab840ce5eac20116448792c97d8dcf5004bce078 Mon Sep 17 00:00:00 2001 From: Ben Liblit Date: Sun, 14 Jan 2024 19:57:52 -0500 Subject: [PATCH] Document required Java versions for building or using WALA --- README-Gradle.md | 8 ++++++++ README.md | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/README-Gradle.md b/README-Gradle.md index 16cdb54a09..7943a9d80b 100644 --- a/README-Gradle.md +++ b/README-Gradle.md @@ -16,6 +16,14 @@ project-level Gradle caches will make incremental rebuilds much faster. Rerunning `./gradlew assemble processTestResources` with a warm cache in an already-built tree takes under three seconds. +WALA components are built using a mix of Java 11 and Java 17. Gradle +will [download suitable JDKs +automatically](https://docs.gradle.org/current/userguide/toolchains.html#sec:provisioning) +if they are not already [locally +installed](https://docs.gradle.org/current/userguide/toolchains.html#sec:auto_detection) +or +[custom-configured](https://docs.gradle.org/current/userguide/toolchains.html#sec:custom_loc). + ## Eclipse ### One-Time Eclipse Configuration diff --git a/README.md b/README.md index 77d1fd880b..93131711d2 100644 --- a/README.md +++ b/README.md @@ -82,6 +82,13 @@ list](http://sourceforge.net/p/wala/mailman/), [ask a question on Gitter](https://gitter.im/WALAHelp/Lobby), or [open an issue](https://github.com/wala/WALA/issues). +## Required Java Versions + +Most components of each [official WALA +release](https://github.com/wala/WALA/releases) are built for use with +Java 11 or newer. However, components that use Eclipse require at +least Java 17. + ## Building from Source WALA uses Gradle as its build system. If you intend to modify or