Hi, For compiling you need JDK 8, but Gradle can't find any, e.g. via the following property or running the whole build with JDK 8
-Porg.gradle.java.installations.paths=/custom/path/jdk1.8,/shared/jre11 See https://docs.gradle.org/current/userguide/toolchains.html for details about this Gradle feature. Dominik. . Dominik. On Sat, Dec 2, 2023 at 11:13 AM Constantine Linnick < clinn...@recordlinker.com> wrote: > Hello > > tl;dr: I need several classes in poi-lite and can't even build the poi > gradle project. > > I'm trying to build pivot table and I need following classes: > > import > org.openxmlformats.schemas.spreadsheetml.x2006.main.CTPivotAreaReference > import org.openxmlformats.schemas.spreadsheetml.x2006.main.STFieldSortType > > Probably impl versions too: > > > org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.STFieldSortTypeImpl > > org.openxmlformats.schemas.spreadsheetml.x2006.main.impl.CTPivotAreaReferenceImpl > > According to faq-N10025 I should provide a test case that will demonstrate > the use case for this file. > > And here's another problem: I can't even build poi on win x64 temurin 17. > Both gradlew and IDEA failing with: > > A problem occurred evaluating project ':poi'. > > Failed to calculate the value of task ':poi:compileTestJava' property > 'javaCompiler'. > > No matching toolchains found for requested specification: > {languageVersion=8, vendor=any, implementation=vendor-specific} for WINDOWS > on x86_64. > > No locally installed toolchains match and toolchain download > repositories have not been configured. > > What is my next step? >