Bash Loop Through Array Variable In Java