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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • 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. diff: command not found
  2. “yum update” fails with “[package version 1] is a duplicate with [package version 2]”
  3. dconf : command not found
  4. grep Command Examples in Linux (Cheat Sheet)
  5. Mac Terminal vi[m] Editor Commands
  6. Understanding The /etc/sysconfig Directory
  7. LVM Commands Fail With “Failed to load config file /etc/lvm/lvm.conf”
  8. atop: command not found
  9. mailq Command Examples in Linux
  10. “passwd: Module is unknown” – error while changing the password in CentOS/RHEL 6

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright