Bash Script Check If Variable Contains Java