Fixed attributes for oracle java
Added lock files