You might have a corrupt/un-updated URL-alias table in the database. Fire up a database command line interface and remove the "/java" translation manually using the following command:
DELETE FROM ezurlalias WHERE source_url="/java";
...then try to add the translation again from within the administration interface. That should do it.