Skip to content

Commit

Permalink
Fix directory separator in ProcessResource attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
fcrespel committed Sep 22, 2022
1 parent 3371d93 commit 8c791b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ private static Resource doBuildResource() {
if (javaHome != null) {
StringBuilder executablePath = new StringBuilder(javaHome);
executablePath
.append(File.pathSeparatorChar)
.append(File.separatorChar)
.append("bin")
.append(File.pathSeparatorChar)
.append(File.separatorChar)
.append("java");
if (osName != null && osName.toLowerCase().startsWith("windows")) {
executablePath.append(".exe");
Expand Down

0 comments on commit 8c791b9

Please sign in to comment.