def get_java_cmd():
    cmd = ('java' if (not is_windows()) else 'java.exe')
    if JAVA_HOME:
        cmd = os.path.join(JAVA_HOME, 'bin', cmd)
    return cmd
def get_java_cmd():
    cmd = ('java' if (not is_windows()) else 'java.exe')
    if JAVA_HOME:
        cmd = os.path.join(JAVA_HOME, 'bin', cmd)
    return cmd