Webservices: refactored and added JRE 1.7 to configuration launch

Removed unused imports and methods