Skip to content

Commit 364c8fb

Browse files
committed
add debug log
1 parent dc9a14b commit 364c8fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/src/test/java/smoketest/ant/SampleAntApplicationIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class SampleAntApplicationIT {
4040
void runJar() throws Exception {
4141
File libs = new File("build/ant/libs");
4242
String javaExecutable = findJavaExecutable();
43+
System.out.println("Using Java executable: " + javaExecutable);
44+
System.out.println("Java executable exists: " + new File(javaExecutable).exists());
45+
System.out.println("java.home: " + System.getProperty("java.home"));
4346
ProcessBuilder processBuilder = new ProcessBuilder(javaExecutable, "-jar", "spring-boot-smoke-test-ant.jar");
4447
processBuilder.inheritIO();
4548
Process process = processBuilder.directory(libs).start();

0 commit comments

Comments
 (0)