Jimfs is an in-memory file system for Java that fully implements the java.nio.file API introduced in Java 7 and enhanced in Java 8 and beyond. Developed by Google, it allows developers to create and manipulate file systems entirely in memory, making it ideal for testing, simulation, and temporary file operations without touching the actual disk. Jimfs supports most standard file operations, including file and directory creation, deletion, copying, symbolic and hard links, as well as stream-based file reading and writing. It also provides robust support for features like SecureDirectoryStream, WatchService for directory change notifications, and multiple attribute views (basic, posix, unix, dos, and acl). Users can configure Jimfs to mimic UNIX or Windows-style paths and behaviors, depending on the environment they need to simulate.

Features

  • Fully in-memory implementation of Java’s java.nio.file API
  • Supports creating, moving, copying, and deleting files and directories
  • Provides symbolic and hard link functionality
  • Supports multiple file attribute views, including POSIX and DOS
  • Compatible with WatchService for monitoring directory changes
  • Configurable to emulate UNIX or Windows-style file systems

Project Samples

Project Activity

See All Activity >

Categories

System

License

Apache License V2.0

Follow Jimfs

Jimfs Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Jimfs!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Java, Unix Shell

Related Categories

Unix Shell System Software, Java System Software

Registered

2025-10-10