In addition to the BinomialDistribution Apache commons.math3 3.3 (unreleased at the time of writing) has a BinomialTest that will give you a p-value as well as a BinomialConfidenceInterval . This is not much compared to the category R you have indicated, but it is more than just the distribution mentioned above.
Conducting this when I landed on your question, looking for a way to get only p val for a known binomial distribution, and the link above is the answer.
ilinca
source share