Skip to content
Advertisement

Tag: openjdk-11

java.nio.file.ProviderNotFoundException: Provider “jar” not found when running “mvn test”

When trying to test using “mvn test” the test fail with error: java.nio.file.ProviderNotFoundException: Provider “jar” not found. Compiling the app and running works without issues. It is this piece of code, that for some reason fails, when testing: final FileSystem zipfs = FileSystems.newFileSystem(jarPath, Collections.emptyMap()); I use openjdk-11 and this import to get the zip library into the code: import java.nio.file.FileSystems;

JFR: OutOfMemoryError while reading .jfr file

I’m trying to analyze a large Flight Recorder file (1.5 GB) that I created previously. When executing the jfr print command, the tool runs into an OutOfMemoryError: Is there a way to increase the heap size (-Xmx) for the jfr tool itself? I haven’t found a corresponding option in the documentation. Any help is appreciated 🙂 Answer As suggested by

Advertisement