Java Virtual Machine Launcher error "Could not create the Java virtual machine"

Started by John B.

When my Temp folder is set to use a SoftPerfect RAM Disk image, if I launch Duplicate Image Remover Free program, it fails to run and causes an error message from Java Virtual Machine Launcher "Could not create the Java virtual machine".

When I change my Temp folder to %USERPROFILE%\AppData\Local\Temp, this problem does not happen.

RAM Disk 4.3.3 64-bit
Windows 10 Pro 21H2
SoftPerfect Support forum - Ann avatar image
Ann

Re: Java Virtual Machine Launcher error "Could not create the Java virtual machine"   18 October 2022, 10:49

We have tested SoftPerfect RAM Disk with Duplicate Image Remover, and everything works perfectly well.

Please make sure that:
  • Your RAM disk has enough space available.
  • The folder referenced in your %TEMP% and %TMP% variables exists.
To check %TEMP% and %TMP% references, press Win+R or Start, type Run and launch it, then enter %TEMP% and press Ok. If the destination temporary folder exits and has been referenced correctly, Windows will open that folder. If not, you will get an error.
After that, repeat the same process with %TMP%.

By the way, if you use your RAM disk purely for temporary files, you don't need an image file for it. RAM disk images are required only when the user uses the RAM disk for some data that needs to be saved between sessions. Otherwise, without an associated image, RAM disk works even faster.

P.S. A note for those who may be reading this and get confused about different images: a RAM disk image file is a persistent copy of the data located on the RAM disk. It can, amongst other things, contain graphic image files (pictures, photos, etc), but a RAM disk image and a graphic image are NOT the same thing.

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **    **   ******    **    **  ********  **     ** 
  **  **   **    **   ***   **  **        **     ** 
   ****    **         ****  **  **        **     ** 
    **     **   ****  ** ** **  ******    **     ** 
    **     **    **   **  ****  **         **   **  
    **     **    **   **   ***  **          ** **   
    **      ******    **    **  ********     ***    

Message: