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
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
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

2 days ago