import and adopt jxrlib