Currentlymft init assumes that the correct java runtime was installed on the host machine but there might be cases where there are 2 java versions and MFT ends up picking the wrong version. Example: https://github.com/apache/airavata-mft/issues/93#issuecomment-1499931850. It is better to verify this at the very early stage of init operation and fail fast if the environment is not compatible.
Currently
mft init
assumes that the correct java runtime was installed on the host machine but there might be cases where there are 2 java versions and MFT ends up picking the wrong version. Example: https://github.com/apache/airavata-mft/issues/93#issuecomment-1499931850. It is better to verify this at the very early stage of init operation and fail fast if the environment is not compatible.