Esra is a scriptable, scalable, and highly hackable molecular mechanics library for Java. Its primary purpose is the statistical analysis of trajectory data generated with packages such as GROMOS, GROMACS, or AMBER, but it can also be used as a standalone package for performing simple molecular dynamics and Monte-Carlo simulations. It can be scripted with Jython, Mathematica, or Matlab.