// Make plugin exit nicely
Runtime.getRuntime().addShutdownHook(shutdownHook);
// Inject application classpath into current plugin class loading
prepareClassLoader();
// Prepare standalone Jetty
server = new StandaloneServer();
server.start();
// Navigate to the default browser, if possible
if (Desktop.isDesktopSupported()) {
Desktop.getDesktop().browse(new URI("http://127.0.0.1:" + port + "/"));
}