-
Notifications
You must be signed in to change notification settings - Fork 38
Confluent CLI should check JAVA_HOME
#115
Comments
The fact that Initially we made the decision not to try and guess which exactly java version a user needs to use. Before changing the code in Confluent CLI you should consider one of the several options to set the default java, depending on your operating system. A few examples are:
Another advantage of using the Nevertheless, given that most java services in Confluent platform check first if |
This is incorrect. It is not uncommon to have multiple versions of java installed on a system, and for program (a) to require a different version than program (b). Only one of these can be the "system java" which will run by default when executing This is the whole reason why so many scripts, including Kafka itself as well as the run scripts produced by gradle, as well as gradle and maven and pretty much every other java-launching shell script on the planet, consult I appreciate the "nevertheless" and the fix, but would like to emphasize this not a misconfiguration but completely intentional and a normal situation in the java world. |
Fixed by: |
* Fix version bumping... CI wasn't pushing commits to master * typo
Symptoms:
Source of problem:
Suggested fix:
Confluent CLI should check
JAVA_HOME
to enable confluent-cli to use a different JDK.Temporary workaround:
Since Confluent CLI is a bash script, edit
$CONFLUENT_HOME/bin/confluent
directlyThe text was updated successfully, but these errors were encountered: