Thursday, July 7, 2016

Uninstalling Intel SSD Toolbox 3.0.1 and fixing error "Launch Anywhere Error: Windows error 2 occured while loading the Java VM"

Skip to summary towards the bottom and bypass my methodology and some rambling.

Trying to uninstall Intel SSD Toolbox 3.0.1, but received error "Launch Anywhere Error: Windows error 2 occured while loading the Java VM".

It actually started when I tried to install the latest version of 3.3.6, as it tries to uninstall the old version but that Launch Anywhere error popped up but I dismissed it and didn't quite notice the previous version had not uninstalled.


My first thought was to reinstall the old SSD Toolbox 3.0.1 but as Intel has removed it from downloads and most 3rd party sites just would link back to the defunct Intel download -- most search results turn out to be defunct, yet eventually not only was I able to find a proper mirror to download it, but it actually turned out that original download (five years later) was still in the downloads directory.   So I reinstalled the old program but yet it still produced the same error when trying to uninstall.  Failure and 10 minutes of wasted time...  (truly wasted since as I only needed to check the original downloads).

Secondly, I shifted my focus to Java... so I tried to duplicate jre7 and just create a directory by quickly using mklink to create a jre7 junction to the current jre8 installation, but that didn't produce any results.  So as I couldn't fool things into believing jre8 was jre7, I thought I'd get the real thing but it turns out that Oracle (like Intel) has also removed old downloads and jre7 was no longer readily available for most people (for the most part)... I however was able to download the latest jre7u80 but that didn't fix anything so I went further back and looked at SSD toolbox and to see it was from November 2011 so I checked the release dates for Java and that era's jre release was the original jre7 released August 2011.  So after I installed the original jre7 from 2011, and I was finally able to uninstall SSD,   Success!!!

Now, after uninstalling everything, I am able to reinstall SSD Toolbox 3.3.6 and jre8u92 (which we do need for a certain app)... but during the small interval that I didn't have either of those installed, I clean and clear the computer of anything Oracle, Sun and SSD related (you might try ccleaner but I manually sought out and removed relevant directories myself).



Summary:  remove all java, remove all SSD toolbox (failure), find and download old jre7u0 to install, now you can uninstall old SSD and once done, then you can uninstall the old jre7 you've just installed.   Now reinstall the latest SSD and if needed, and only if you have some programs that require java, then you may also install the latest java.

So no trick.  Just needed old 2011 Java from when the SSD program was installed.

`™