Mega Code Archive

 
Categories / Java / File Input Output
 

Getting a Jar File Using a URL

import java.net.URL; public class Main {   public static void main(String[] argv) throws Exception {     // Create a URL that refers to a jar file on the net     URL url = new URL("jar:http://hostname/my.jar!/");   } }