Solved Java translation issue