riptano / ccm

A script to easily create and destroy an Apache Cassandra cluster on localhost
Apache License 2.0
1.22k stars 303 forks source link

Fix confused env usages #770

Closed jacek-lewandowski closed 6 months ago

jacek-lewandowski commented 6 months ago
  1. Before/after starting a node, only JAVA_HOME was stored/restored which could be responsible for divergences between Java version on PATH and JAVA_HOME
  2. Method which calls 'java' from the PATH to check its version didn't take into account the updated env