cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-7799) cassandra-env.sh doesn't detect openjdk version numbers
Date Wed, 27 Aug 2014 12:58:59 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14112219#comment-14112219
] 

Brandon Williams edited comment on CASSANDRA-7799 at 8/27/14 12:58 PM:
-----------------------------------------------------------------------

Actually, your version string looks weird.  Here's mine:

{noformat}
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-2)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
{noformat}


was (Author: brandon.williams):
Actually, you version string looks weird.  Here's mine:

{noformat}
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-2)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
{noformat}

> cassandra-env.sh doesn't detect openjdk version numbers
> -------------------------------------------------------
>
>                 Key: CASSANDRA-7799
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7799
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Ryan McGuire
>            Assignee: Brandon Williams
>            Priority: Minor
>             Fix For: 2.0.11
>
>         Attachments: 7799.txt
>
>
> Cassandra fails to start with openjdk with the error:
> {code}
> Cassandra 2.0 and later require Java 7u25 or later.
> {code}
> This commit broke it:
> https://github.com/apache/cassandra/commit/87548095859c210e7be8cc8bbb4a5aa1f857a6ad
> My openjdk version string looks like:
> {code}
> vagrant@cnode1:~/fab/cassandra$ java -version
> openjdk version "1.7.0-u60-unofficial"
> OpenJDK Runtime Environment (build 1.7.0-u60-unofficial-b30)
> OpenJDK 64-Bit Server VM (build 24.60-b09, mixed mode)
> {code}
> Which this change does not parse properly.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message