apache / airavata-mft

Apache Airavata Managed File Transfer Services
https://airavata.apache.org
Apache License 2.0
32 stars 39 forks source link

Verifying java runtime before starting the MFT through CLI #96

Closed DImuthuUpe closed 1 year ago

DImuthuUpe commented 1 year ago

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.

DImuthuUpe commented 1 year ago

Fixed in https://github.com/apache/airavata-mft/pull/105