Omnis Installation Issues

Version Relevance: 4 onward

Issue: I'm getting strange error messages and/or the Omnis Trace Log says Java Virtual Machine failed to load?

Nov 21st, 2016

Feedback: Caliach Vision uses powerful features of the Omnis Studio runtime operation. These in turn may exploit parts of the operating system or other programs written by others. These components can become out-of-date or are not automatically present in newer operating systems. In such cases when Caliach Vision operates some features and functions may not operate. We describe two known issues here and how they can be fixed:

Omnis was not installed with the Installer Program

Windows Only: Caliach Vision depends on Omnis Studio which in turn depends on Windows operating system components that includes the correct Microsoft Visual C++ Redistributable. If the installer is run the correct files are installed in the system. However, if you just copy the Caliach Vision folder from one machine to another the appropriate system files may not be present.

To fix this problem you need to use the Caliach Vision installer, or you can download from Microsof's web site the Microsoft Visual C++ 2013 Redistributable for either 32bit (x86) or 64bit (x64) and run it. The appropriate components will be installed.

Java Virtual Machine failed to load

Windows Only: If the Java VM is unavailable to Omnis Studio some advanced features will not operate, particularly Internet-based ones. This failure will show near the start of the Omnis Trace Log (you can open it from File -- Preferences -- Message Log). If you see Java Virtual Machine failed to load in the log it is likely to be caused by a combination of new Java version and/or new operating system deprecating older modules. This is typcally the fix:

  1. Locate in the file system your Java binaries which will be in either c:\Program Files\Java\jreN.N.N_NNN\bin for 64bit Omnis (and/or C:\Program Files (x86)\Java\jreN.N.N_NNN\bin for 32bit Omnis).
  2. Locate the files msvcr100.dll and msvcr120.dll and copy them.
  3. Now locate your Omnis Studio omnis.exe. You will find in the same folder a file msvcr90.dll, paste the two files in. You will now have all msvcr90.dll, msvcr100.dll and msvcr120.dll.
  4. These are the various versions of the Microsoft Visual C++ Redistributable libraries.
  5. You now need to setup an Environment Variable in Windows. To do this right-click on My Computer, or Start and type in Computer and execute, then right-click select Properties then Advanced System Settings then click on Environment Variables. You can either add a User or a System wide (all Users) variable - use the later.
  6. Create a new variable named OmnisJVM64 (or just OmnisJVM for 32 bit) and then navigate the value to c:\Program Files\Java\jreN.N.N_NNN\Bin\Server\JVM.dll (or c:\Program Files (x86)\Java\jreN.N.N_NNN\Bin\client\JVM.dll for 32 bit).
  7. Now restart Omnis Studio and check the Trace Log.

Chris Ross - Caliach Consultant