String cp = System.getProperty("java.class.path");//NOI18N
//System.out.println(cp); //NOI18N
String ps = System.getProperty("path.separator");//NOI18N
System.out.println("PS: " + ps);//NOI18N
StringTokenizer st = new StringTokenizer(cp, ps);
String s = "Current Classpath: \n";//NOI18N
int count = 0;
while (st.hasMoreTokens())
{
++count;
s += st.nextToken() + "\n";//NOI18N
//System.out.println(st.nextToken()); //NOI18N
}
s += "******** Total Classpath Entries: " + count;//NOI18N
Reporter.verbose(s); //NOI18N
System.out.println(cp); //NOI18N