Skip to content

Building from Source

Connor Boyle edited this page May 12, 2021 · 13 revisions

Details the steps necessary to download the Protege Desktop source code, and build a distribution from those sources.

To follow this step-by-step guide, you must have Java JDK 8, Maven, and Git installed.

  1. Clone Protege source code from Github. Type in a console:
git clone https://github.com/protegeproject/protege.git
  1. Change to the protege directory. Type in the console:
cd protege
  1. Build Protege. Type in a console:
mvn clean package

After the build completes, a Protege Desktop distribution will be available in the following directory: protege/protege-desktop/target/protege-${version}-platform-independent-bin/Protege-${version}. As an example, you may find the distribution packages are at protege-desktop/target/protege-5.1.1-SNAPSHOT-platform-independent/Protege-5.1.1-SNAPSHOT

Use the run.bat or run.sh scripts to launch Protege Desktop.

The difference with https://github.com/protegeproject/protege-distribution is it lack some third party plugins.