typedb: Grakn doesn't start (RESOLVED: caused by custom jars in user's filesystem /Library/Java/Extensions)

Grakn doesn’t start on MacOS 10.14, it throws an exception below.

My java version is 1.8.0_51, tried grakn from releases page and from Homebrew, they work identically.

4217 [main] ERROR ai.grakn.engine.bootup.GraknBootup  - An error has occurred during boot-up. Please run 'grakn server status' or check the logs located under the 'logs' directory.
ai.grakn.engine.bootup.BootupException: Process exited with code '1': 'Unrecognized VM option 'CrashOnOutOfMemoryError'
Did you mean 'OnOutOfMemoryError=<value>'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
'
	at ai.grakn.engine.bootup.StorageBootup.start(StorageBootup.java:157)
	at ai.grakn.engine.bootup.StorageBootup.startIfNotRunning(StorageBootup.java:82)
	at ai.grakn.engine.bootup.GraknBootup.serverStart(GraknBootup.java:180)
	at ai.grakn.engine.bootup.GraknBootup.server(GraknBootup.java:140)
	at ai.grakn.engine.bootup.GraknBootup.run(GraknBootup.java:127)
	at ai.grakn.engine.bootup.GraknBootup.main(GraknBootup.java:69)
An error has occurred during boot-up. Please run 'grakn server status' or check the logs located under the 'logs' directory.
Process exited with code '1': 'Unrecognized VM option 'CrashOnOutOfMemoryError'
Did you mean 'OnOutOfMemoryError=<value>'?
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 23 (12 by maintainers)

Most upvoted comments

Yes @marco-scoppetta, on Mac OS version 10.13.2 Make sure you have installed Java SE Development Kit greater than 8u192 will solve the issue. But you may have to download it directly from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html. This is what you should see when running

/usr/libexec/java_home --version 1.8
/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home

Maybe this info should be added in the README as requirement (I mean the specific version > 1.8.0_192)