ported Launch4J plugin class to proper java