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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try 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