Skip to content

Commit

Permalink
Remove quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw authored Nov 25, 2019
1 parent 60d58b8 commit dcbdc13
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -656,9 +656,9 @@ private static void installExternal(AttachmentProvider.Accessor.ExternalAttachme
for (File jar : externalAttachment.getClassPath()) {
classPath.append(File.pathSeparatorChar).append(quote(jar.getCanonicalPath()));
}
if (new ProcessBuilder(quote(System.getProperty(JAVA_HOME)
if (new ProcessBuilder(System.getProperty(JAVA_HOME)
+ File.separatorChar + "bin"
+ File.separatorChar + (System.getProperty(OS_NAME, "").toLowerCase(Locale.US).contains("windows") ? "java.exe" : "java")),
+ File.separatorChar + (System.getProperty(OS_NAME, "").toLowerCase(Locale.US).contains("windows") ? "java.exe" : "java"),
CLASS_PATH_ARGUMENT,
classPath.toString(),
Attacher.class.getName(),
Expand Down

0 comments on commit dcbdc13

Please sign in to comment.