self base pkg for JAVA programming