Try Studio 3T for Free
  1. Knowledge Base
  2. How to Run Studio 3T on CentOS

How to Run Studio 3T on CentOS

New to MongoDB? Check out our Getting Started guide for the full breakdown.

When trying to run Studio 3T on CentOS, you may experience the following issue:

java: cairo-misc.c:380: _cairo_operator_bounded_by_source: Assertion `NOT_REACHED' failed.
./ line 11: 28030 Aborted (core dumped) $DIR/../jre/bin/java -jar $DIR/../lib/data-man-mongodb-pro-*.jar

This is a general issue for all SWT-based applications on CentOS and is related to the Cairo 2D graphics library on CentOS.

The work-around is to pass ‘-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false‘ to the application. In order to do that, open in the bin directory of your Studio 3T installation and add the (highlighted) parameter to the last line of the script.


while [ -h “$SOURCE” ]; do # resolve $SOURCE until the file is no longer a symlink
DIR=”$( cd -P “$( dirname “$SOURCE” )” && pwd )”
SOURCE=”$(readlink “$SOURCE”)”
[[ $SOURCE != /* ]] && SOURCE=”$DIR/$SOURCE” # if $SOURCE was a relative symlink, we need to resolve it relative to the path where the symlink file was located
DIR=”$( cd -P “$( dirname “$SOURCE” )” && pwd )”

$DIR/../jre/bin/java -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false -jar $DIR/../lib/data-man-mongodb-pro-*.jar

Save your script and you are good to go.

Updated on July 31, 2019

Was this article helpful?

Leave a Comment