Skip to content

Build fail with JDK 19 #292

@ramonjsantiago

Description

@ramonjsantiago

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

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