• 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 Examples in Linux

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.

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. What is the purpose of “wheel” group in Linux
  2. grub-install Command Examples in Linux
  3. Sample /etc/mke2fs.conf file
  4. Linux Command line Basics – Executing commands from the command line
  5. findfs: command not found
  6. xrpd: command not found
  7. How to use shell expansions for generating shell tokens under Linux
  8. traceroute Command Examples in Linux
  9. laptop-detect: command not found
  10. CentOS / RHEL 6,7 : How to disable or delete virbr0 interface

You May Also Like

Primary Sidebar

Recent Posts

  • powertop Command Examples in Linux
  • powertop: command not found
  • powerstat: command not found
  • powerstat Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright