Bash Script Check If Array Contains Java