I want to know if there is any way to convert a String to Java compilable code.
String
I have a comparative expression saved in a database field. I want to re
If all you really need to do is evaluate an expression stored in a database, you might want to look at JEP (Java Expression Parser)
The latest (commercial) version is here.
A slightly older, GPL version is here
Some examples for usage.