You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/05/09 13:32:14 UTC

[GitHub] [pulsar] BewareMyPower commented on pull request #15264: [improve][build] PIP-156 Build Pulsar Server on Java 17

BewareMyPower commented on PR #15264:
URL: https://github.com/apache/pulsar/pull/15264#issuecomment-1121108467

   Hi, after rebasing to master that includes this PR, I could not build `pulsar-client` with both JDK8 and JDK11, which are installed by SDKMAN!.
   
   JDK 11:
   
   ```bash
   sdk use java 11.0.2-open
   mvn clean install -DskipTests -pl pulsar-client -am
   ```
   
   > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project pulsar-functions-proto: Fatal error compiling: error: release version 17 not supported -> [Help 1]
   
   JDK 8:
   
   ```bash
   sdk use java 8.332.08.1-amzn 
   mvn clean install -DskipTests -pl pulsar-client -am
   ```
   
   > Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project pulsar-client-api: Fatal error compiling: invalid flag: --release -> [Help 1]
   
   Could you help take a look? @heesung-sn @lhotari 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org