Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- java.nio.file.FileSystemNotFoundException
- at com.sun.nio.zipfs.ZipFileSystemProvider.getFileSystem(ZipFileSystemProvider.java:171)
- at com.sun.nio.zipfs.ZipFileSystemProvider.getPath(ZipFileSystemProvider.java:157)
- at java.nio.file.Paths.get(Unknown Source)
- at com.sora.util.walltoggle.pro.WebViewPresentation.setupTempFiles(WebViewPresentation.java:83)
- ....
- 81. URI uri = getClass().getResource("/webViewPresentation").toURI();
- //prints: URI->jar:file:/C:/Users/Tom/Dropbox/WallTogglePro.jar!/webViewPresentation
- 82. System.out.println("URI->" + uri );
- 83. Path source = Paths.get(uri);
- final Map<String, String> env = new HashMap<>();
- final String[] array = uri.toString().split("!");
- final FileSystem fs = FileSystems.newFileSystem(URI.create(array[0]), env);
- final Path path = fs.getPath(array[1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement