[Java]: fix #21. Add install to default task