Refactoring for redhat jdk package + implemented absent state