Could not create the virtual machine in Java

If you run Java based applications you may see this error message at times.

Try Googling this error and you see any number of complex answers that otherwise hint at one of the most likely reasons for seeing this error.

Java apps require an amount of volatile memory to run. If you have recently ran a Java app or saved data in the app and then try to re-run the app at a later stage, days or weeks afterwards, you may see this error which relates to volatile RAM cache not being available to the virtual machine. There may also be times when your system memory is incorrectly configured and is unable to negotiate with the drive space.

Try restarting the computer to release RAM cache and see if you can now run your Java app.