Table Of Contents

Previous topic


Next topic


This Page


We recommend you use OpenJDK rather than Sun’s JDK. There isn’t much difference now between the two, as far as InterMine is concerned, but going forward it’s probably safer.

The version of Gradle we are using isn’t compatible with Java 11, this issue is being addressed but for now please use Java 8.


InterMine can be rather memory-intensive, so you will probably need to set memory options for Java. To do this, set the environment variable GRADLE_OPTS to pass in to Java, by placing the following line in your ~/.bashrc file:

# ~/.bashrc file
    $ export GRADLE_OPTS="-server -Xmx8g -XX:+UseParallelGC -Xms2g -XX:SoftRefLRUPolicyMSPerMB=1 -XX:MaxHeapFreeRatio=99 -Dorg.gradle.daemon=false"

Run source to use this value in the current session.

You should change the -Xmx and -Xms values if you have very little or very much RAM in your computer.

Building a database requires much more memory than running a webapp only.