Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-408

JDK17 Unrecognized VM option 'UseParallelOldGC'

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • OpenShift

      I tried jdk11 builder image (jdk17 not available yet) and jdk17 runtime image and I get this error on start:

      INFO Running jboss-eap-7/eap74-openjdk17-runtime-openshift-rhel8 image, version 7.4.1
      =========================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: /opt/eap
      
        JAVA: /usr/lib/jvm/java-17/bin/java
      
        JAVA_OPTS: -javaagent:"/opt/eap/jboss-modules.jar"  -server -Xlog:gc*:file="/opt/eap/standalone/log/gc.log":time,uptimemillis:filecount=5,filesize=3M -Xms128m -Xmx512m -XX:MetaspaceSize=96m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=jdk.nashorn.api -Djava.awt.headless=true -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:+ExitOnOutOfMemoryError -Djava.security.egd=file:/dev/./urandom   --add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED --add-exports=jdk.unsupported/sun.reflect=ALL-UNNAMED
      
      =========================================================================
      
      Unrecognized VM option 'UseParallelOldGC'
      Did you mean '(+/-)UseParallelGC'? Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

              kwills@redhat.com Ken Wills
              mchoma@redhat.com Martin Choma
              Vojtěch Šalbaba Vojtěch Šalbaba
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: