removed duplicate java