What Is The Difference Between Java Se 8 And 11

If anybody figures this one out, I'd be super happy to know how. I'm in the same situation, app being rejected from applab due to this constrain but I am unable to make the BLUETOOTH_SCAN work ... not even sure what it does.