From be1263500df0c363ad45c0ccf387e4c06e6f5c7d Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 14 Oct 2013 16:07:50 -0400 Subject: [PATCH] Ensure env vars are consulted for PATH --- .../org/springframework/boot/loader/PropertiesLauncher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java index 65988e7fe0..26b66ef008 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java @@ -261,7 +261,7 @@ public class PropertiesLauncher extends Launcher { } private void initializePaths() throws IOException { - String path = System.getProperty(PATH); + String path = SystemPropertyUtils.getProperty(PATH); if (path == null) { path = this.properties.getProperty(PATH); }