java/install: fixing some directory warnings
java/start-tomcat: create temporary directory to fix a warning