estimate-pi-java derivation of pi using java The default amount of points to use is 1000000000. To change this, run the program like this: java -jar pi.jar <n> where you replace with your desired amount of points. leaving out will use the default.