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); }