Modify run.sh in java/osgi