SyntaxFix
Write A Post
Hire A Developer
Questions
You need to specifie path started from /
/
URL resource = YourClass.class.getResource("/abc"); Paths.get(resource.toURI()).toFile();