# incompatible JVM error on brand new iMac

**URL:** https://community.ofelia.com/t/incompatible-jvm-error-on-brand-new-imac/8876
**Category:** Q&A
**Created:** [1 December 2017 13:12 UTC](https://community.ofelia.com/t/incompatible-jvm-error-on-brand-new-imac/8876 "2017-12-01T13:12:44Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![9670793\_1358084](https://avatars.discourse-cdn.com/v4/letter/9/4bbf92/32.png) [@9670793\_1358084](https://community.ofelia.com/u/9670793_1358084)
#### Post date: [1 December 2017 13:12 UTC](https://community.ofelia.com/t/incompatible-jvm-error-on-brand-new-imac/8876/1 "2017-12-01T13:12:44Z")

</div>

Hi,  
I have a brand new iMac, literally purchased today, and I downloaded Bonita BPM Community for a university subject. On installation of Bonita it told me that it would install it’s own version of Java (1.6.0) and use this as I had not installed Java.  
The install appeared to go seamlessly. However, upon trying to open the application it gives me an error message:  
Incompatible JVM - **Version 1.6.0\_65 of the JVM is not suitable for this product.** Version 1.8 of greater is required.

So I installed Java 8.0 (which is greater than 1.8 if my maths is correct) but I get the same error.

What is the actual problem here and, more importantly, how do I resolve it?

Kind regards,

Matt

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)
#### Post date: [4 December 2017 08:44 UTC](https://community.ofelia.com/t/incompatible-jvm-error-on-brand-new-imac/8876/2 "2017-12-04T08:44:39Z")

</div>

Can you share the output of the following commands run in a Terminal:  
`ls -la /System/Library/Frameworks/JavaVM.framework/Versions`  
`java -version`

I recommend to [uninstall Java 6](http://mail.openjdk.java.net/pipermail/macosx-port-dev/2014-February/006388.html). To do so run the following command in a Terminal:  
`sudo rm -rf /System/Library/Java/JavaVirtualMachines/1.6.0.jdk`  
`sudo rm -rf /Library/Java/JavaVirtualMachines/1.6.0*.jdk`

And install Oracle JDK 1.8.0 that you can get directly from Oracle.

If you are using the macOS .dmg installer of Bonita there is currently an issue preventing the Studio from using the embedded JVM (issue is fixed in upcoming 7.6.0 release).  
Here is a workaround to fix the issue: after running the installer you need to locate the `BonitaBPMCommunity.ini`file in `BonitaBPMCommunity.app/Contents/MacOS/`folder, edit it and remove the leading white space in front of the `-vm` line and JVM path line.

---

<div class="post-metadata">

### Author: ![ric.hayman](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@ric.hayman](https://community.ofelia.com/u/ric.hayman)
#### Post date: [2 December 2017 12:40 UTC](https://community.ofelia.com/t/incompatible-jvm-error-on-brand-new-imac/8876/3 "2017-12-02T12:40:57Z")

</div>

Very similar problem - just installed 7.5.4 64bit on my MacBook Pro and had the same message (with different ‘wrong” version, but otherwise identical): “Version 1.7.0\_25 of the JVM is not suitable for this product. Version 1.8 of greater is required.”  
What I have installed according to the Java Control Panel is Java 1.8.0\_151, and the version downloaded with Bonita is 1.8.0\_112 … I haven’t had v1.7\* installed for a long time.

Like Matt, my question is: what IS going wrong, and how do I fix it?

Cheers  
Ric

---

<div class="post-metadata">

### Author: ![ric.hayman](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@ric.hayman](https://community.ofelia.com/u/ric.hayman)
#### Post date: [3 December 2017 22:51 UTC](https://community.ofelia.com/t/incompatible-jvm-error-on-brand-new-imac/8876/4 "2017-12-03T22:51:01Z")

</div>

Footnote: Macbook is running MacOS 10.13.1. High Sierra

---

<div class="post-metadata">

### Author: ![ric.hayman](https://avatars.discourse-cdn.com/v4/letter/r/898d66/32.png) [@ric.hayman](https://community.ofelia.com/u/ric.hayman)
#### Post date: [4 December 2017 23:32 UTC](https://community.ofelia.com/t/incompatible-jvm-error-on-brand-new-imac/8876/5 "2017-12-04T23:32:56Z")

</div>

Thank you - changing the .ini file to point to the included JVM worked for me. Look forward to v7.6.0 🙂
