starting port to java