tags:

views:

62

answers:

0

Should there be any reason why I'm unable to run my Java program from within Eclipse when I insert this snippet of code before everything else:

ClassLoader sysClassLoader = ClassLoader.getSystemClassLoader();
URL[] urls = ((URLClassLoader)sysClassLoader).getURLs();
for(int i=0; i< urls.length; i++)
{
   System.out.println(urls[i].getFile());
}