Skip to article frontmatterSkip to article content

Running the Tripoli Application

University of Kansas

1Before you start

Before you start Tripoli, make sure that you have:

  • Downloaded and installed the correct Java application,
  • Downloaded the latest Tripoli .jar file from the GitHub repository, and
  • Moved the Tripoli.jar file to a dedicated folder on your hard drive, for instance a folder named “Tripoli” inside your “Documents” folder.

2The easy way: double-click a .jar file

In most cases, the simplest way to start the Tripoli application is to double-click on the .jar file you downloaded from the GitHub repository. The .jar file contains everything you need to open the application and start reviewing data. This approach is likely the best when setting up Tripoli on a shared lab computer, where users with a variety of software comfort levels will be opening Tripoli. If you just double-clicked the Tripoli .jar file and nothing happened, or you got a warning, see OS-specific troubleshooting below.

2.1OS-specific troubleshooting: double-click a .jar file

Mac
Windows

2.2Mac:

The security settings on your Mac are likely configured so that you get a warning when you try and open an app that you downloaded from the internet. Tripoli is not malware, and we are not secretly downloading your unpublished data -- we have enough of our own! To open Tripoli anyway, open System Settings (the gear icon on your dock), then click on “Privacy and Security” in the left-hand menu. Scroll down on the right-hand side of the window until you see a prompt asking if you want to “Open Anyway”.

Mac Privacy and Security Settings

Click the “Open Anyway” button, enter your password if needed, and the Tripoli application will open.

You only need to go to Privacy and Security settings once to open this .jar file. Double-clicking on it in the future will just open Tripoli. However, when you download a new version of Tripoli with a new version number and filename, you’ll need to repeat the process. Or, you can open Tripoli from the command line using the instructions in the Starting Tripoli section.

3The better way: > the command line

A command line interface is a place to type instructions (command lines) that your computer will follow. The advantage here is that you can issue specific commands to your computer and get additional low-level output from the programs you run. While most of us spend most of our time in our operating system’s graphical user interface double-clicking on apps to run them, the dinosaurs among the Tripoli user base will recognize an old friend in the familiar DOS prompt from eons ago.

Mac
Windows

3.1Mac

To use the command line, first you’ll need to find it. On a Mac, open Spotlight and type “Terminal” to open the Terminal app. In Linux, you can usually open your Terminal app with Ctrl-Alt-T.

To the left of your cursor, you’ll see the name of the folder in your file system that you now have open. To see the name of the complete path to this folder, type pwd. Type ls to see the contents of the folder. Navigate to your folder containing your Tripoli .jar file using cd to change your directory.

If you don’t know how to do this, no problem! Open Finder and navigate to the folder containing your Tripoli.jar file.

Mac OS Finder Window

Now right-click the folder containing your Tripoli .jar file, then select “Open Terminal at Folder” from the list of options -- it will be toward the bottom. You now have a Terminal window open to your Tripoli folder.

Mac Terminal window open to the Tripoli folder

To run Tripoli from the command prompt using Java, type java -jar Tripoli-X.X.X.jar where X.X.X is the version number of Tripoli you’re using. For instance, to run Tripoli version 0.5.1, type java -jar Tripoli-0.5.1.jar:

Mac
Windows
Windows Command Prompt with Java command

Type <Return> to run Tripoli. You’ve done it!