Written by Rudy D'hauwe on August 9, 2013.
Before installing the JDK, I first created and mounted a 2GB RAM drive image as a disk with drive letter J. I then installed Oracle JDK 1.7.0_25 on the RAM drive as follows.
Set the destination folder for the JDK on the RAM drive.
The JRE goes on the C:\ drive.
You're done! The JDK is now installed on the RAM drive, the JRE is not.
I continued setting up my development environment by installing Eclipse on the RAM drive.