Windows Error 2 Occured While Loading Java VM, During Citrix Command Center Installation

Windows error 2

I got the below error while installing Citrix Command Center 5.2. A quick search of the error, Windows error 2 occured while loading the Java VM, showed a few solutions, like Java was not in the PATH Environmental variable and other various fixes. However, all of them were Java configuration or Java corruption issues.

When It’s just quicker to reinstall

I played with a couple of the suggestions like the PATH variable, but I had to stop myself. What was I doing? The issue most likely was a Java problem. Hello, just reinstall!

But, but, the Root Cause

I generally attempt to identify the root cause when troubleshooting. It goes against my nature to take a short cut and do a reinstall, as issues tend reoccur, but sometimes you just have to look at the ROI. A few minutes to uninstall then reinstall was less than I had spend troubleshooting so far.


My hypothesis that is was probably a Java corruption issue became more obvious when I went to uninstall Java and it was corrupted enough not to be able to be uninstalled. After uninstalling it manually and reinstalling, YEP, no more issues or errors.


Sometimes you have to put your ego and curiosity aside and remember exactly your overall objectives. Is it to find the root cause of some obscure issue you will possibly never need again, or to compete your task and complete your objective?

I see IT people new and old that refuse to call support or reinstall and will take days or weeks to resolve problems that could have been solved in mins or hours.

Fight your nature, nuke it from space and reinstall is sometime the only logical solution.

Up next Error 3278 Failed To Change State Of The VM Setting up an Internal vSwitch, NATing in Microsoft Hyper-V
Latest posts Change Synology NAS Password from the CLI Free Git eBook Using Brew Bundle to Backup and Restore Mac App Store and Brew Apps Update macOS with an all in one alias Mac App Store Command Line Interface Update macOS with softwareupdate command Markdown Crash Course Video What’s New with Fusion and Workstation [HCP1833] File IO in Python Overview of vSphere 7 Video What is ISO? Migrating Website HTML details Tag Microsoft RD Client iOS App Create VMware ESXi USB Install Media Intel NUC Lab Hosts Hardware Setup Installing Microsoft SQL 2016, and Management Studio Deploy VMware vCenter Appliance (VCSA) Installing the First Two Domain Controllers in the VMware ESXi 6.7 Lab Environment Macchanger Utility, and Usage Install a Kali Linux VM in a VMware ESXi 6.7 Environment Install Ubuntu 18.04 Virtual Machine in a VMware ESXi 6.7 Environment Install xRDP on Ubuntu 18.04 Install Chromium on Ubuntu 18.04 Install OpenSSH on Ubuntu 18.04 Install VMware Workstation 14 on Ubuntu 18.04 Nested ESXi server Laboratorium Rattus The Animal Within Who is Veeam? RSAC OnDemand Videos Create a Windows 10 Sandbox VM on VMware Workstation 14