Setting up JAVA on windows for Omnis 8.x

Grzegorz (Greg) Pasternak grzegorz at niagara.com
Wed Mar 22 22:47:07 EDT 2017


Vik;

In addition to the environment vars, in config file:

 C:\Users\gp\AppData\Local\Omnis Software\OS8.0.3\studio\config.json

I have filled this entry to have O$8.0.3 recognize java on my Windows

"java": {
        "jvm": "c:\\Program Files\\Java\\jre1.8.0_91\\bin\\server\\jvm.dll",
        "resetClassCacheOnStartup": false
    },


Greg


On Mar 22, 2017, at 10:32 PM, Vik Shah <Vik at Keys2Solutions.com.au> wrote:

> Hi,
> 
> I cant seem to get Omnis Studio 8.x to recognise that JAVA is installed on my system.
> 
> I have
> 1. fixed the config.json file "jvm": "C:\\Program Files\\Java\\jdk1.8.0_121\\jre\\bin\\server\jvm.dll"
> 2. created OMNISJVM and OMNISJVM64 to point to C:\Program Files\Java\jdk1.8.0_121\jre\\bin\server\jvm.dll
> 3. created CLASSPATH to point to c:\java\work (existing folder)
> 4. made sure that the JAVA_HOME points in the right direction.
> 
> What else do I need as I keep getting this error: “Unable to open Omnis Web Services client library as Java environment has not been configured correctly.”
> 
> I must be having a mind blank today.
> 
> Regards,
> 
> Vik Shah
> Director
> Keys2Solutions
> AU: +61 411 493 495
> SE: +46 21-495 01 05
> US: +1 (415) 413 4172
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com





More information about the omnisdev-en mailing list