JavaCompiler API in a Spring Boot app and get classpath

196 Views Asked by At

I'm using JavaCompiler API in Spring boot application. But currently I'm facing with an issue on getting spring boot runnable jar file classpath using System.getProperty("java.class.path") it is returning only path to this jar...

Is there any way to get real classpath with all jar files in springbootapp.jar/BOOT-INF/lib ?

0

There are 0 best solutions below