I do not have the time to maintain exp4j any longer. Please let me know if you're interested in maintaining exp4j, so the project can be kept alive
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