Setting up JAVA on windows for Omnis 8.x

Bastiaan Olij bastiaan at basenlily.me
Thu Mar 23 01:16:43 EDT 2017


Hey Vik,

Are you using the 32bit of 64bit version of Omnis?
The 32bit version of Omnis can only use up to Java 6 as it can't talk to
the 64bit Java
But the 64bit version of Omnis should be able to talk just fine (not
that I've used it).

Cheers,

Bas

On 23/03/2017 3:35 PM, Vik Shah wrote:
> Hi George,
>
> I am using 
> — Windows 10 (Latest) 
> — Omnis Studio 8.0.3
>
> This is what is in my config.json
>
>     "java": {
>         "jvm": "C:\\Program Files\\Java\\jre1.8.0_121\\bin\\server\\jvm.dll",
>         "resetClassCacheOnStartup": false
>     },
>
>
> I’ve even added OMNISJVM64 to point to C:\Program Files\Java\jre1.8.0_121\bin\server\jvm.dll
>
> The only thing I feel is that my Java is 64bit. Would that matter?
>
> Vik Shah
>
>
>> On 23 Mar 2017, at 13:37, Grzegorz (Greg) Pasternak <grzegorz at niagara.com> wrote:
>>
>> This article also mentions config.json as part of setup with java:
>>
>> http://www.omnis.net/technotes/tnws0005.jsp
>>
>>
>>
>> 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
>>
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
>
>


-- 
Kindest Regards,

Bastiaan Olij
e-mail: bastiaan at basenlily.me
web: http://www.basenlily.me
Skype: Mux213
http://www.linkedin.com/in/bastiaanolij





More information about the omnisdev-en mailing list