Revert "added jdk enforcement"

This reverts commit e96d0b4900b1628770dccd894908deae9a4660e9.