Generic java application launcher