Skip to content
Cédric Belin edited this page Jun 15, 2024 · 2 revisions

Find the instances of an executable in the system path, in Java.

Quick start

Download the latest JAR file of Which for Java from the GitHub releases:
https://github.com/cedx/which.java/releases/latest

Add it to your class path. Now in your Java code, you can use:

import io.belin.which.*;

Usage

Clone this wiki locally