adds java support, better ux for share view