Phạm Khánh Đoan
New member
How do I find the CLASSPATH?
Answer
package com.javacodegeeks.snippets.core;
Answer
package com.javacodegeeks.snippets.core;
- public class getClassPath {
- public static void main(String[] args) {
- // Get class path by using getProperty static method of System class.
- String strClassPath = System.getProperty( “java.class.path” );
- System.out.println( “Classpath is ” + strClassPath);
- } }