Version: Next

Java

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

The version of Gradle we are using is compatible with Java 11.

GRADLE_OPTS#

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 -Xmsvalues if you have very little or very much RAM in your computer.

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