exp4j ----- exp4j is a mathematical expression evaluator for the Java programming language. It is a simple-to-use and small library (~40kb) without any external dependencies. Check out http://www.objecthunter.net/exp4j/ for documentation and examples