I\'m looking for a relatively simpler (when compared with writing a parser) way to evaluate boolean expressions in Java, and I do not want to use the JEP library.
I
Use Apache Commons Jexl; which is exactly designed for such requirement.
http://commons.apache.org/jexl/