[Solved] VMWare Virtual Machine “Failed to Lock the File” Error

VMW logo If you want to start your operating system after you have run VMWare Virtual Machine on your computer, your operating system will not work and you will see a window

Can not open the disk file_name.vmdk or one of the snapshot disks it depends on. Reason: Failed to lock the file. . The solution is very easy.

Immediately after the Can not open the disk line, navigate to the directory with the file name “filename.vmdk” . Delete the folder “file_name.vmdk.lck” at index O and restart the operating system you want to start from VMWare Virtual Machine.

Good luck…

JAVA VERSION ERROR WHEN UNINSTALL GLASSFISH SERVER

“Could not find the required version of the Java(TM) 2 Runtime Environment in ‘(null)’.”

glassfish_uninstall_error

glassfish_uninstall_error2

If you receive the above error when trying to uninstall the GlassFish Server, the solution is as follows.

Fisrtly, check your java version. Because, your Glassfish Server needs version 1.6 or higher of the jdk.
if your old version of Java, Download and install a new version and set Java Home path.

java_path

After, Start –> cmd.exe –> go to GlassgFish uninstall.exe directory (The directory may be different on your computer.)

1
 uninstall.exe -j "%JAVA_HOME%"

cmd_goto_glassfish