title: Extract some content from jar-file downloaded with JWS
body: <p>im trying to extract some files from a jar-file downloaded using java-webstart.
  below code was used to locate the jar and initiate the FileSystem</p>
  
  <pre><code>1 final ProtectionDomain domain = this.getClass().getProtectionDomain();
  2 final CodeSource source = domain.getCodeSource();
  3 final URL url    = source.getLocation();
  4 final URI uri    = url.toURI();
  5 Path jarPath = Paths.get(uri);
  6
  7 FileSystem fs = FileSystems.newFileSystem(jarPath, null);
  </code></pre>
  
  <p>This works fine when the jar-file is on a local disc, but fails at line 5 in the JWS scenario, because the </p>
  
  <p>logs says: url=http://localhost:8080/myjarfile.jar</p>
  
  <pre><code>java.nio.file.FileSystemNotFoundException: Provider "http" not installed
  at java.nio.file.Paths.get(Unknown Source)
  </code></pre>
  
  <p>If I understand JWS correctly, myjarfile.jar has been downloaded to some cache already, so implementing a FileSystemProvider for http to get some content from myjarfile.jar seems slow and complicated. So any good ideas of how to proceed?</p>