JP2P adaptted for JXSE 2.8.0x