Skip to content

Can't specify Java 25 as compiler #5516

@thomasa299792

Description

@thomasa299792

Tycho fails if I specify Java 25 as a compiler release. Works with Java 21.

Tycho error message says "release version 25 is not supported."

My JAVA_HOME environment variable is pointing to a Java 25 SDK.

Eclipse 5.0.0 was released Aug. 29. Afterwards, Java 25 was released Sept. 16.

Configuration in a pom.xml:

<project ...> 
 <properties>
  	<tycho.version>5.0.0</tycho.version>
        <maven.compiler.release>25</maven.compiler.release>
        ...

Error message:

[exec] [ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:5.0.0:compile (default-compile) on project com.dnastar.common: Fatal error compiling: release version 25 is not supported -> [Help 1]

Is there a workaround for this?

Is there an upcoming tycho release that supports Java 25?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions