There is no way to use it, no. The java.nio.file package has dependencies on other source files and packages/libraries that are not freely available. You'll need to upgrade to java7 to use them.

Answer from Sotirios Delimanolis on Stack Overflow
🌐
Jar-download
jar-download.com › maven-repository-class-search.php
Download dependencies for java class java.nio.file.Files
Here you can download the dependencies for the java class java.nio.file.Files. Use this engine to looking through the maven repository.
🌐
Jar-download
jar-download.com › maven-repository-class-search.php
Download dependencies for java class Java.nio.file
Here you can download the dependencies for the java class Java.nio.file. Use this engine to looking through the maven repository.
🌐
Maven Repository
mvnrepository.com › artifact › org.tobereplaced › nio.file › 0.1.0
Maven Repository: org.tobereplaced » nio.file » 0.1.0
August 16, 2014 - Wrapper for java.nio.file · LicenseEPL 1.0 · Tagsclojureniofileio · HomePage https://github.com/ToBeReplaced/nio.file 🔍 Inspect URL · Links · DateAug 16, 2014 · Filespom (3 KB)jar (15 KB)View All · RepositoriesClojars · Ranking · #1008449in MvnRepository · Vulnerabilities · Vulnerabilities from dependencies: CVE-2017-20189 · 💡 · Newer Version Available · 0.1.0→0.4.0 · (1 changes) Sponsored · Maven ·
Published   Aug 16, 2014
Version   0.1.0
🌐
Maven Repository
mvnrepository.com › artifact › com.xebialabs.overthere › nio-overthere › 1.0.0-beta-1
Maven Repository: com.xebialabs.overthere » nio-overthere » 1.0.0-beta-1
Dependency Injection · Embedded SQL Databases · HTML Parsers · HTTP Clients · I/O Utilities · JDBC Extensions · JDBC Pools · JPA Implementations · JSON Libraries · JVM Languages · Logging Frameworks · Logging Bridges · Mail Clients · Maven Plugins · Mocking · Object/Relational Mapping · PDF Libraries · Top Categories · Home » com.xebialabs.overthere » nio-overthere » 1.0.0-beta-1 · java.nio.file SPI implementation for Overthere.
🌐
OpenRewrite
docs.openrewrite.org › recipe catalog › apache › commons › commons io › prefer `java.nio.file.files`
Prefer java.nio.file.Files | OpenRewrite Docs
Prefer the Java standard library's java.nio.file.Files over third-party usage of apache's apache.commons.io.FileUtils. apache · commons · GitHub: ApacheFileUtilsToJavaFiles.java, Issue Tracker, Maven Central · This recipe is available under the Moderne Source Available License.
Published   April 7, 2026
🌐
Maven Repository
mvnrepository.com › artifact › nio › nio › 1.0.4
Maven Repository: nio » nio » 1.0.4
October 15, 2015 - Clojure support for java.nio. LicenseEPL 1.0 · Tagsionioclojure · HomePage http://github.com/pjstadig/nio/ 🔍 Inspect URL · Links · DateOct 15, 2015 · Filespom (2 KB)jar (8 KB)View All · RepositoriesClojarsSpring Lib MSpring Lib Release · Ranking · #631965in MvnRepository · Vulnerabilities · Vulnerabilities from dependencies: CVE-2017-20189 · Maven ·
Published   Oct 15, 2015
Version   1.0.4
🌐
GitHub
github.com › gradle › gradle › issues › 15711
Unable to use a Provider<java.nio.file.Path> as an artifact for the maven-publish plugin · Issue #15711 · gradle/gradle
July 1, 2021 - Using a Provider<java.nio.file.Path> as an artifact for the maven-publish-Plugin does not work in Gradle 6.6 anymore. Using a Path (sun.nio.fs.WindowsPath) instance directly still works. The file my-artifact.txt should be published into the local maven repository.
Author   gradle
Find elsewhere
🌐
Jar-Download
jar-download.com › home › com.jtransc › jtransc-rt › 0.6.2 › source code › files.java
java.nio.file.Files Maven / Gradle / Ivy
java.nio.file.Files maven / gradle build tool code. The class is part of the package ➦ Group: com.jtransc ➦ Artifact: jtransc-rt ➦ Version: 0.6.2
🌐
Stack Overflow
stackoverflow.com › questions › 68795767 › import-java-nio-file-files-and-com-google-common-io-files-in-1-file-is-not-allow
maven - Import java.nio.file.Files and com.google.common.io.Files in 1 file is not allowed - Stack Overflow
August 15, 2021 - The import com.google.common.io.Files collides with another import statement · Can this be solved ? Thanks a lot. ... When you have to use two classes with the same name, you have to import one and use the fully qualified name of the other one in the code. For example, leave the first import. And when you want to create one variable of each type, you do the following: import java.nio.file.Files; public class MyClass{ Files files; //This variable uses the imported type com.google.common.io.Files ioFiles; //This variable uses the explicit type }
🌐
Maven Repository
mvnrepository.com › artifact › nio
Maven Repository: nio
Clojure support for java.nio. ... aar android apache api arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy io ios javascript jvm kotlin library logging maven mobile module npm osgi persistence plugin resources rlang sdk server service spring sql starter testing tools ui web webapp
🌐
Jar-download
jar-download.com › maven-repository-class-search.php
Download dependencies for java class java.nio.file.Path
Here you can download the dependencies for the java class java.nio.file.Path. Use this engine to looking through the maven repository.
🌐
Apache Maven
maven.apache.org › plugins › maven-ear-plugin › › xref › org › apache › maven › plugins › ear › EarMojo.html
EarMojo xref - Apache Maven
20 */ 21 22 import java.io.BufferedWriter; 23 import java.io.File; 24 import java.io.IOException; 25 import java.io.InputStream; 26 import java.nio.charset.StandardCharsets; 27 import java.nio.file.FileSystem; 28 import java.nio.file.FileSystems; 29 import java.nio.file.FileVisitResult; 30 import java.nio.file.Files; 31 import java.nio.file.LinkOption; 32 import java.nio.file.Path; 33 import java.nio.file.Paths; 34 import java.nio.file.ProviderMismatchException; 35 import java.nio.file.SimpleFileVisitor; 36 import java.nio.file.StandardCopyOption; 37 import java.nio.file.StandardOpenOption; 38
🌐
GitHub
github.com › googleapis › java-storage-nio
GitHub - googleapis/java-storage-nio · GitHub
June 2, 2026 - Java idiomatic client for NIO Filesystem Provider for Google Cloud Storage. ... Note: This client is a work-in-progress, and may occasionally make backwards-incompatible changes. If you are using Maven with BOM, add this to your pom.xml file · <dependencyManagement> <dependencies> <dependency> ...
Starred by 85 users
Forked by 35 users
Languages   Java 97.4% | Shell 2.4% | Batchfile 0.2%
🌐
Maven Repository
mvnrepository.com › artifact › org.tobereplaced › nio.file
Maven Repository: org.tobereplaced » nio.file
Wrapper for java.nio.file · Clojars (5) Central · Atlassian · WSO2 Releases · Hortonworks · WSO2 Public · JCenter · KtorEAP · Sonatype · Atlassian 3rdParty · Mulesoft · aar android apache api application arm assets build build-system bundle client clojure cloud config cran data database eclipse example extension framework github gradle groovy ios javascript jenkins kotlin library maven mobile module npm osgi persistence plugin resources rlang sdk server service spring sql starter testing tools ui war web webapp ·
🌐
Apache Maven
maven.apache.org › plugins › maven-dependency-plugin › xref › org › apache › maven › plugins › dependency › resolvers › ResolveDependenciesMojo.html
ResolveDependenciesMojo xref - Apache Maven
cesFileMarkerHandler; 44 import org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter; 45 import org.apache.maven.shared.utils.logging.MessageBuilder; 46 import org.apache.maven.shared.utils.logging.MessageUtils; 47 48 /** 49 * Goal that resolves the project dependencies from the repository. When using this goal while running on Java 9 the 50 * module names will be visible as well.
🌐
DZone
dzone.com › data engineering › databases › getting to know java.nio.file.path (part 1)
Getting to Know java.nio.file.Path (Part 1)
August 21, 2017 - One of the new features is the enhancement of the File API introduced in Java 7. One of the new classes of that feature set is java.nio.file.Path and its factory java.nio.file.Paths. We will be using JUnit and AssertJ to write our tests to demonstrate the API. <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <!-- use 2.8.0 for Java 7 projects --> <version>3.8.0</version> <scope>test</scope> </dependency> As I mentioned before, java.nio.file.Paths is the creator for java.nio.file.Path.
🌐
Jar-download
jar-download.com
Download java.nio JAR files with all dependencies
Download JAR files for java.nio ✓ With dependencies ✓ Documentation ✓ Source code