private String buildCheckCommand(String smtPath) {
        return "java -jar " + smtPath;
    }
Build the command String to check if we can execute the smt jar.

@param smtPath Full path to the jar to run.
@return String to run on the command line.
tika-translate/src/main/java/org/apache/tika/language/translate/impl/MosesTranslator.java