You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Kevin Tibi (Jira)" <ji...@apache.org> on 2020/08/07 12:48:00 UTC

[jira] [Created] (KAFKA-10372) [JAVA 11] Unrecognized VM option PrintGCDateStamps

Kevin Tibi created KAFKA-10372:
----------------------------------

             Summary: [JAVA 11] Unrecognized VM option PrintGCDateStamps
                 Key: KAFKA-10372
                 URL: https://issues.apache.org/jira/browse/KAFKA-10372
             Project: Kafka
          Issue Type: Bug
          Components: core
    Affects Versions: 2.6.0
            Reporter: Kevin Tibi


Hello,

I can start kafka with JAVA 11. 

 
{code:java}
kafka-server-start.sh[2721]: Unrecognized VM option 'PrintGCDateStamps'
kafka-server-start.sh[2721]: Error: Could not create the Java Virtual Machine.
kafka-server-start.sh[2721]: Error: A fatal exception has occurred. Program will exit.{code}
This flag (in kafka-run-class.sh L302) is deprecated in JAVA 11.

Solution :
{code:java}
-Xlog:::time,uptime,level,tags" # Equivalent to PrintGCTimeStamps, Uptime and PrintGCDateStamps{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)