Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed:Source option 5 is no longer supported. Use 7 or later #151

Open
pinggao187 opened this issue Apr 7, 2022 · 2 comments
Open

Comments

@pinggao187
Copy link

[INFO] Compiling 1 source file to /private/var/jenkins_home/workspace/BigDL-Core-Release-CORE-test-Mac/mkl2017-xeon-blas/mkl-java-mac/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 5 is no longer supported. Use 7 or later.
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for BigDL-core 2.1.0-SNAPSHOT:
[INFO] 
[INFO] BigDL-core ......................................... SUCCESS [  0.098 s]
[INFO] mkl-parent ......................................... SUCCESS [  0.467 s]
[INFO] mkl-java-mac ....................................... FAILURE [  0.330 s]
[INFO] dnn-parent ......................................... SKIPPED
[INFO] bigquant-parent .................................... SKIPPED
[INFO] bigquant-java-mac .................................. SKIPPED
[INFO] opencv-parent ...................................... SKIPPED
[INFO] opencv-java-mac .................................... SKIPPED
[INFO] dist-parent ........................................ SKIPPED
[INFO] mac ................................................ SKIPPED
[INFO] linux64 ............................................ SKIPPED
[INFO] rh5 ................................................ SKIPPED
[INFO] all ................................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.350 s
[INFO] Finished at: 2022-04-07T16:49:58+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project mkl-java-mac: Compilation failure: Compilation failure: 
[ERROR] Source option 5 is no longer supported. Use 7 or later.
[ERROR] Target option 5 is no longer supported. Use 7 or later.

jenkins link: http://10.112.231.51:18888/view/ZOO-Release/job/BigDL-Core-Release-CORE-test-Mac/11/console

java -version
java version "17.0.2" 2022-01-18 LTS
mvn -version
Apache Maven 3.8.1
@pinggao187
Copy link
Author

@Le-Zheng @qiuxin2012 failed with both jdk1.7 and jdk1.8, pls have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant