Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Duplicate
-
None
-
None
-
None
-
Ubuntu 14.04
openjdk 7 patch >=100
-
Low
Description
With the latest patch of openjdk, all nodetool actions fail and display "Cassandra 2.0 and later require Java 7u25 or later." because cassandra-env.sh test of java version is broken.
Line 102:
if [ "$JVM_VERSION" \< "1.7" ] && [ "$JVM_PATCH_VERSION" \< "25" ] ; then
echo "Cassandra 2.0 and later require Java 7u25 or later."
exit 1;
fi
The second test cause all java patch >100 to be considered as inferior. One correct syntax is "-lt" instead of "\<".
Attachments
Issue Links
- duplicates
-
CASSANDRA-11661 Cassandra 2.0 and later require Java 7u25 or later - jdk 101
- Resolved