add JAVA_HOME, update composer and findBySize