Studio and standalone not running on mac

i’ve downloaded both versions of cuba for mac but none of them is working.
Mac Osx 10.13.4
java version “1.8.0_131”
Java™ SE Runtime Environment (build 1.8.0_131-b11)

After launching Studio SE a popup appears. Click Start but error raises “java.lang.NoClassDefFoundError: javax/annotation/PreDestroy”

After launching Studio Server a popup appears. Click Start but error raises “java.lang.RuntimeException: Unable to start server”

Here the logs: studio-se.log (49.6 KB)
studio.log (93.8 KB)

Also tried what reported on /discuss/t/noclassdeffounderror-on-macos/2966


CUBA Studio is incompatible with Java 9, so you need to install Java 8 and make sure that JAVA_HOME refers to it. Also, read the Troubleshooting section in the doc to learn how to roll back to Java 8, since in macOS it’s a little tricky.


1 Like

Thanks, Java9 was still there!
Works now