What kind of a number are you expecting to get from that String? It would take a BigInteger to hold all of the number.