This paper presents an algebraic library in java. The primary purpose of the library is supporting senior high school mathematics course. The scope of this library includes: (1) factorization of polynomials with rational coefficients, (2) determine the irreducibility of polynomials over finite fields, (3) element casting among different algebraic systems, (4) radical numbers, (5) some algorithms in computer algebra.