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

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

     [ https://issues.apache.org/jira/browse/KAFKA-10372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Tibi updated KAFKA-10372:
-------------------------------
    Fix Version/s: 2.6.1

> [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
>            Priority: Major
>              Labels: bug
>             Fix For: 2.6.1
>
>
> 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)