DEV Community

Small Tools Studio
Small Tools Studio

Posted on

A one-hour checklist to find every Java runtime on your servers

Before any Java licence conversation you need one thing: a list of which runtimes run where. Here is a one-hour way to get it.

Step 1: list what is installed

On each host run java -version and which -a java. Record vendor, version and path. Packaged apps often bundle their own runtime, so also search for release files next to bin/java.

Step 2: list what is running

ps aux | grep java shows which binary actually runs. Installed and running are not always the same.

Step 3: read the vendor line

The java -version output names the build, for example Temurin, Corretto, Zulu or Oracle. Put vendor in its own column.

Step 4: flag by vendor and version

Group the sheet by vendor. Oracle builds need a closer look at the terms that apply to that version. Other builds from OpenJDK vendors are normally free to run.

Check

Every host appears once, every row has vendor, version and path, and the count of running processes matches the count of rows marked running.

This is a self-service inventory, not legal advice. Which runtime surprised you most when you ran it?

Top comments (0)