AstroLib is a Java library of astronomical routines. It includes classes to calculate nutation, aberration, planet positions from VSOP, refraction, lunar positions, coordinate systems, sidereal time, sun/moon rise and set times, etc.