Mega Code Archive

 
Categories / Java / File Input Output
 

Create a URL that refers to a jar file in the file system

import java.net.URL; public class Main {   public static void main(String[] argv) throws Exception {     URL url = new URL("jar:file:/c://my.jar!/");   } }