changed JAVA_HOME in params.pp  to /usr/java
added  to piracy1 instnace