Ljava.lang.String; Error22 Jan 2013 This is a simple one. You're asking java to return an Array as a string.Solution: Put Arrays.toString( ) around your Array.