MCPcopy Create free account
hub / github.com/ViaVersion/ViaProxy / launch

Method launch

src/main/java/net/raphimc/viaproxy/util/JarUtil.java:36–38  ·  view source on GitHub ↗
(final File jarFile)

Source from the content-addressed store, hash-verified

34 }
35
36 public static void launch(final File jarFile) throws IOException {
37 new ProcessBuilder(System.getProperty("java.home") + "/bin/java", "-jar", jarFile.getAbsolutePath()).directory(ViaProxy.getCwd()).start();
38 }
39
40}

Callers 2

showUpdateQuestionMethod · 0.95
initMethod · 0.95

Calls 2

getCwdMethod · 0.95
startMethod · 0.45

Tested by

no test coverage detected