Get classpath using System class : Classpath « Class « Java
- Java
- Class
- Classpath
Get classpath using System class
public class Main {
public static void main(String[] args) {
System.out.println(System.getProperty("java.class.path"));
}
}
Related examples in the same category