fix warnings
use new java port