share application java