Re: IKVM and Printing Classpath

Jeroen Frijters <[email protected]>
Newsgroups gmane.comp.java.ikvm.devel
Message-ID <[email protected]>
Hi Matt,

What are you trying to accomplish?

Regards,
Jeroen

> -----Original Message-----
> From: Matt Hunter [mailto:[email protected]]
> Sent: Tuesday, July 15, 2014 22:48
> To: [email protected]
> Subject: [Ikvm-developers] IKVM and Printing Classpath
> 
> Hi all,
> 
> I’m trying to enumerate through the classpath and print out the results,
> using the following code
> 
> 
> 
> import java.net.URL;
> import java.net.URLClassLoader;
> 
> URLClassLoader sysLoader = (URLClassLoader)
> ClassLoader.getSystemClassLoader();
> URL[] urls = sysLoader.getURLs();
> for (int i = 0; i < urls.length; i++) {
>       System.out.printf("%d: %s\n", i, urls[i]); }
> 
> 
> 
> Is there any way I can do this while using ikvm?
> 
> 
> 
> Thanks,
> Matt Hunter

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ikvm-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ikvm-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.