Skip to content

Commit

Permalink
SLCORE-1105 Avoid showing the Java icon in the taskbar on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nquinquenel committed Jan 20, 2025
1 parent 3b0252e commit 98be5c3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ private static List<String> createCommand(Path distPath, Path jreJavaExePath, @N
if (clientJvmOpts != null) {
commands.addAll(Arrays.asList(clientJvmOpts.split(" ")));
}
// Avoid displaying the Java icon in the taskbar on Mac
commands.add("-Djava.awt.headless=true");
commands.add("-classpath");
commands.add(classpath);
commands.add(SLOOP_CLI_ENTRYPOINT_CLASS);
Expand Down

0 comments on commit 98be5c3

Please sign in to comment.