Skip to content

Commit

Permalink
Replace deprecated core.launcher.Main by equinox.launcher.Main
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Mar 25, 2024
1 parent 072423e commit efc1ff8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -236,7 +236,7 @@ public void fillCommandLine(List<String> commandLine) {
fillClassPath(commandLine);
fillVMArgs(commandLine);
fillSystemProperties(commandLine);
commandLine.add("org.eclipse.core.launcher.Main");
commandLine.add("org.eclipse.equinox.launcher.Main");
fillEclipseArgs(commandLine);
}

Expand Down
Expand Up @@ -22,7 +22,7 @@

/**
* Eclipse launcher. Spawns eclipse executable or
* org.eclipse.core.launcher.Main.
* org.eclipse.equinox.launcher.Main.
*/
public class Eclipse extends Thread {
// Eclipse exit codes
Expand Down Expand Up @@ -81,7 +81,7 @@ private void prepareJavaCommand() throws Exception {
}
cmdarray[1 + vmArgs.size()] = "-cp"; //$NON-NLS-1$
cmdarray[2 + vmArgs.size()] = getStartupJar();
cmdarray[3 + vmArgs.size()] = "org.eclipse.core.launcher.Main"; //$NON-NLS-1$
cmdarray[3 + vmArgs.size()] = "org.eclipse.equinox.launcher.Main"; //$NON-NLS-1$
for (int i = 0; i < eclipseArgs.size(); i++) {
cmdarray[4 + vmArgs.size() + i] = eclipseArgs.get(i);
}
Expand Down

0 comments on commit efc1ff8

Please sign in to comment.