How to Install a JAR File (Windows, Mac & Linux)

Learn how to install a JAR file — run it as an app, add it as a library, or install it into your local Maven repo. Step-by-step for Windows, Mac, and Linux.

First: Check What's Inside the JAR

Method 1: Run a JAR as an Application

Method 2: Add a JAR as a Library (to Your Project)

Method 3: Install a JAR into Your Local Maven Repo

Why Won't My JAR Install or Open?

Summary