Fix TABE Online Assessment Install Error “Windows error 2 occured while loading the Java VM”

The organization I work with utilizes CTB’s TABE Online Assessment tool in conjunction with some of our McGraw-Hill services.  I recently ran into a problem while attempting to install TABE that resulted in the following LaunchAnywhere error: Windows error 2 occured while loading the Java VM


(yes, I realize “occurred” is misspelled in their error message)

I had already ensured the necessary prerequisites Java, Adobe Air/Flash Player, and .NET 3.5 were all installed and working, but the error still made it sound like some sort of Java issue.

The Solution: LAX_VM

There’s not much documentation on installing TABE, but after some digging I found that the LAX_VM parameter can be used with the installer to pass the path to the system’s Java.EXE file.  My guess is the installer comes hardcoded to look for a specific Jave.EXE path that doesn’t match mine which is why the error is displaying.  LAX_VM allows us to circumvent this.

First identify the path to Java.EXE by looking in Program Files.  In the case of my system, I am using an x64 operating system and the x86 version of Java 8u121.  My path ends up being: C:\Program Files (x86)\Java\jre1.8.0_121\bin\java.exe

Next, use command prompt to launch the TABE installer along with the LAX_VM parameter passing the path the Java.exe:

InstallOAS_TABE.exe LAX_VM "C:\Program Files (x86)\Java\jre1.8.0_121\bin\java.exe"

The installer should then detect the appropriate Java files and allow the install to proceed.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: