JMathLib is used to evaluate complex mathematical expressions and display the results graphically. It can be used either interactively or to interpret script files (m-files). It is a clone of Matlab, Octave, FreeMat, Scilab but written 100% in java.
Java Math Library (JML) is a fairly robust mathematics library that can be used for anything from basic calculations to some more advanced mathematical functions.