Skip to content

Arrow in case statement supported from Java 14 onwards only #701

Closed
@processing-bot

Description

Created by: knupel

I try to compile Processing 4 with ant run, but the compilation fail with this error
Arrow in case statement supported from Java 14 onwards only
I check my version of java and that's a good version .
The weird thing it's a manage to compile the first time, but after that never. I restart my laptop too, but failled too.
Fortunately the original Processing still works :)

openjdk version "17.0.6" 2023-01-17
OpenJDK Runtime Environment Temurin-17.0.6+10 (build 17.0.6+10)
OpenJDK 64-Bit Server VM Temurin-17.0.6+10 (build 17.0.6+10, mixed mode, sharing)

it's a same in build.xml

  <!-- 17.0.6+10 -->
  <property name="jdk.train" value="17" />
  <property name="jdk.detail" value="${jdk.train}.0.6" />
  <property name="jdk.build" value="10" />
  <property name="jdk.folder" value="jdk-${jdk.detail}+${jdk.build}" />

So I don't know where I must investigate to compile properly.

my os is ventura 13.3.1

Capture d’écran 2023-04-14 à 16 22 43

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    has attachmentAttachment was not transfered from GitLab

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions