In Jep there is a special type of variable which are marked as constant. By default pi, e, i, true and false are marked as constants.
The only real effect of this is that you cannot change a constants variable so an expression like "pi = 3" will cause an exception.
It is possible to add your own variables.
The standard Jep does not really have symbolic capabilities. Its focus is on parsing and evaluation.
I am very close to releasing a set of extensions to Jep which add some limited symbolic facilities. It will be able to simplify some expressions, do symbolic differentiation and allow some rewriting rules. But this does not mean Jep is a full computer algebra system, just that it allows some symbolic operations to make
Hope that of help
Richard