Get classpath using System class
public class Main { public static void main(String[] args) { System.out.println(System.getProperty("java.class.path")); } }
1. | Returns a reference to a file with the specified name that is located somewhere on the classpath. | ||
2. | Lookup Classpath Files |