i want to create a directory in the memory and after a few days of googling i found that using tmpfs is one of ways to do that, please if any one knows how to create directories using tmpfs and java. here's what i'm using to create directory in the system.
File currentFolder = new File( "path" );
File workingFolder = new File( currentFolder, "serialized" );
if ( !workingFolder.exists() ) {
workingFolder.mkdir();
}
System.out.println( workingFolder.getAbsolutePath() );