java wrapper for launching projectile