• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

archlinux-java: command not found

by admin

In Linux, Arch Linux is a distribution (a version) of the operating system that is known for its simplicity, flexibility, and cutting-edge package management. Arch Linux uses the Pacman package manager, which is a command-line utility for installing, upgrading, and removing software packages.

The archlinux-java package is a package that is available in the Arch Linux package repository and is used to manage Java runtime environments (JREs) and Java Development Kits (JDKs) on Arch Linux systems. It provides an easy way to install, configure, and switch between different versions of Java on a system.

If you encounter the below error while running the archlinux-java command:

archlinux-java: command not found

you may try installing the below package:

# pacman -S java-runtime-common

archlinux-java Command Examples

1. List installed Java environments:

# archlinux-java status

2. Set the default Java environment:

# archlinux-java set {{java_environment}}

3. Unset the default Java environment:

# archlinux-java unset

4. Set the default Java environment automatically:

# archlinux-java fix

Filed Under: Linux

Some more articles you might also be interested in …

  1. readelf Command Examples in Linux
  2. maza Command Examples
  3. einfo: command not found
  4. https-server Command Examples
  5. laydown Command Examples
  6. sacctmgr Command Examples in Linux
  7. su: command not found
  8. journalctl: command not found
  9. What is the purpose of .bash_profile file under User Home Directory In Linux
  10. synopkg Command Examples in Linux

You May Also Like

Primary Sidebar

Recent Posts

  • Vanilla OS 2 Released: A New Era for Linux Enthusiasts
  • mk Command Examples
  • mixxx Command Examples
  • mix Command Examples

© 2025 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright