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 fail with JDK 19 #292

Open
ramonjsantiago opened this issue Jan 27, 2023 · 2 comments
Open

Build fail with JDK 19 #292

ramonjsantiago opened this issue Jan 27, 2023 · 2 comments

Comments

@ramonjsantiago
Copy link

Unrecognized VM option 'MaxPermSize=512m'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
...
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project jt-iterators: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
[ERROR] Command wascmd.exe /X /C "C:\jdk-19.0.2\bin\java -Xmx512m -XX:MaxPermSize=512m -enableassertions -Dtest.extensive=false -Dtest.interactive=false -jar C:\CODE\geosolutions-jai-ext\jt-iterators\target\surefire\surefirebooter5139858746667412123.jar C:\CODE\geosolutions-jai-ext\jt-iterators\target\surefire\surefire7230816359068001523tmp C:\CODE\geosolutions-jai-ext\jt-iterators\target\surefire\surefire_012880093347216768103tmp"

The failure is not just on jt-iterators

@aaime
Copy link
Member

aaime commented Jan 27, 2023

JDK 19 is not currently supported. If you want to build jai-ext please use either JDK 8 or 11.

@ramonjsantiago
Copy link
Author

[INFO] Reactor Summary for GeoSolutions JAI Extensions Library Root Project 1.1-SNAPSHOT:
[INFO]
[INFO] GeoSolutions JAI Extensions Library Root Project ... SUCCESS [ 0.873 s]
[INFO] Square Root Contrast Enhancement jai operation ..... SUCCESS [ 1.054 s]
[INFO] jt-iterators ....................................... FAILURE [ 0.540 s]
[INFO] jt-utilities ....................................... FAILURE [ 5.886 s]
[INFO] New tile cache implementation supporting concurrency FAILURE [ 0.329 s]
[INFO] jt-vectorbin ....................................... FAILURE [ 1.791 s]
[INFO] jt-translate ....................................... FAILURE [ 0.774 s]
[INFO] jt-scale ........................................... FAILURE [ 0.515 s]
[INFO] jt-affine .......................................... FAILURE [ 0.645 s]
[INFO] jt-border .......................................... FAILURE [ 0.565 s]
[INFO] jt-stats ........................................... FAILURE [ 0.816 s]
[INFO] jt-warp ............................................ FAILURE [ 0.594 s]
[INFO] jt-lookup .......................................... FAILURE [ 0.450 s]
[INFO] jt-mosaic .......................................... FAILURE [ 0.385 s]
[INFO] jt-zonal ........................................... FAILURE [ 0.461 s]
[INFO] jt-crop ............................................ FAILURE [ 0.475 s]
[INFO] jt-rescale ......................................... FAILURE [ 0.430 s]
[INFO] jt-nullop .......................................... FAILURE [ 0.385 s]
[INFO] jt-bandmerge ....................................... FAILURE [ 0.377 s]
[INFO] jt-bandselect ...................................... FAILURE [ 0.538 s]
[INFO] jt-algebra ......................................... FAILURE [ 0.499 s]
[INFO] jt-buffer .......................................... FAILURE [ 0.825 s]
[INFO] jt-binarize ........................................ FAILURE [ 0.426 s]
[INFO] jt-bandcombine ..................................... FAILURE [ 0.386 s]
[INFO] jt-convolve ........................................ SUCCESS [ 0.283 s]
[INFO] jt-piecewise ....................................... SUCCESS [ 0.493 s]
[INFO] jt-classifier ...................................... FAILURE [ 0.383 s]
[INFO] jt-artifact ........................................ FAILURE [ 0.354 s]
[INFO] jt-format .......................................... FAILURE [ 0.338 s]
[INFO] jt-colorconvert .................................... FAILURE [ 0.358 s]
[INFO] jt-errordiffusion .................................. FAILURE [ 0.400 s]
[INFO] jt-orderdither ..................................... FAILURE [ 0.384 s]
[INFO] jt-colorindexer .................................... FAILURE [ 0.446 s]
[INFO] jt-imagefunction ................................... FAILURE [ 0.345 s]
[INFO] jt-rlookup ......................................... FAILURE [ 0.339 s]
[INFO] jt-threshold ....................................... FAILURE [ 0.377 s]
[INFO] jt-clamp ........................................... FAILURE [ 0.309 s]
[INFO] jt-scale2 .......................................... FAILURE [ 0.400 s]
[INFO] jt-shadedrelief .................................... FAILURE [ 0.461 s]
[INFO] jt-jiffle .......................................... SUCCESS [ 0.016 s]
[INFO] jt-jiffle-language ................................. FAILURE [ 5.944 s]
[INFO] jt-jiffle-demo ..................................... SUCCESS [ 2.601 s]
[INFO] jt-jiffle-docs ..................................... SUCCESS [ 0.549 s]
[INFO] jt-jiffle-op ....................................... FAILURE [ 1.143 s]
[INFO] jt-classbreaks ..................................... FAILURE [ 0.340 s]

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

2 participants