If you get Windows Error 2 occurred while loading the Java VM error while opening the Launch Anywhere app on your computer, here is how you can get rid of this issue ...
The Event Viewer logs events that lead to errors. The event logs can help you understand what triggered or where exactly the issue is coming from so you can be apply the relevant troubleshooting steps ...
Seriously, once PowerToys is installed, all you have to do is right-click on the offending file and choose "Unlock with Locksmith." Then a window pops up telling you exactly what program is locking ...