You could use: BigInteger and BigDecimal classes for this kind of computations;
But the power algorithm for such a big power numbers you need to implement.
Something like this:
public static void main(String[] args) {
System.out.println(pow("100","100000000000"));
}
private static BigInteger pow(String b, String p) {
BigInteger toPow = new BigInteger(b);
BigInteger pow = new BigInteger(p);
while (pow.compareTo(BigInteger.ONE)!=0) {
pow = pow.subtract(BigInteger.ONE);
toPow = toPow.multiply(toPow);
}
return toPow;
}