object-oriented programming language
Java is a high-level, general-purpose, memory-safe, object-oriented programming language. It is intended to let programmers write once, run anywhere (WORA), meaning that compiled Java code can run on all platforms that support … Wikipedia
🌐
ArchWiki
wiki.archlinux.org β€Ί title β€Ί Java
Java - ArchWiki
May 15, 2026 - Arch Linux officially supports the open source OpenJDK versions 8, 11, 17, 21, and 25 β€” Long-Term Support (LTS) versions, and 26 β€” the latest released version. All these JVMs can be installed without conflict and switched between using helper script archlinux-java (installed with java-runtime-common package). Several other Java environments are available in Arch User Repository but are not officially supported.
🌐
Oracle
java.com β€Ί en β€Ί download β€Ί help β€Ί linux_x64_install.html
Linux 64-bit installation instructions for Java
Use these instructions to download and install the Java Runtime Environment (JRE) for Linux x64.
Discussions

[workflow] Best setup for developing in Java on linux?

I use Ubuntu/Mint with Oracle's JDK. IntelliJ for the IDE. There is both a free and pay version of IntelliJ, but I find it to be faster, cleaner GUI, and has fewer bugs/really annoying quirks than Eclipse.

More on reddit.com
🌐 r/java
19
15
March 31, 2012
Shouldn't Java be a better choice for Linux scripting compared to bash or python or perl?
Besides what everyone else said, ... like the Linux project to be dependent on. ... Python can do everything java can, but without forcing OOP programming onto the user. Bash is for stupid simple stuff or things with a bunch of external calls (ls, grep, cp, mv, etc). Python is a good all around language for many things (can do what bash does but in an OOP and functional environment... More on reddit.com
🌐 r/linux
178
0
December 2, 2023
"Unable to locate the Java runtime" error on launch. Will give gold.
Might want to try reinstalling the launcher, since it's looking for that file in the wrong location. By default, that file is supposed to be in; C:\Program Files (x86)\Minecraft\runtime\jre-x64\1.8.0_25\bin I'm not entirely sure if this is actually the cause of your issue, but it's worth a shot at least. When the launcher asks you which directory you want to install it to, just leave it as the default. More on reddit.com
🌐 r/Minecraft
14
4
March 10, 2017
Vim for Java?

Editing without an IDE could be a bit paiful at first sight, maybe you can have a look at this to setup some help http://www.averywagar.com/post/configuring-vim-for-java-development

More on reddit.com
🌐 r/vim
20
7
January 16, 2018
People also ask

What is Java command in Linux?
The Java command in Linux is used to launch the Java Virtual Machine (JVM) and execute Java programs. You need to install the Java Development Kit (JDK) to use the Java command. To run a Java program, you need to compile the source code with the javac command and then run the class file with the java command.
🌐
theknowledgeacademy.com
theknowledgeacademy.com β€Ί blog β€Ί install-java-linux
How to Install Java on Linux: Step By Step Installation Guide
How to install Java packages in Linux?
To install Java packages in Linux, you need to decide which version and implementation of Java you want to use. You can choose between OpenJDK, Oracle JDK, or other alternatives. Depending on your choice, you can use your package manager (such as apt or dnf) or download the installer from the official website.
🌐
theknowledgeacademy.com
theknowledgeacademy.com β€Ί blog β€Ί install-java-linux
How to Install Java on Linux: Step By Step Installation Guide
What is Knowledge Pass, and how does it work?
The Knowledge Academy’s Knowledge Pass, a prepaid voucher, adds another layer of flexibility, allowing course bookings over a 12-month period. Join us on a journey where education knows no bounds.
🌐
theknowledgeacademy.com
theknowledgeacademy.com β€Ί blog β€Ί install-java-linux
How to Install Java on Linux: Step By Step Installation Guide
🌐
Opensource.com
opensource.com β€Ί article β€Ί 19 β€Ί 11 β€Ί install-java-linux
How to install Java on Linux | Opensource.com
When an application tells you that ... from a reliable source. On Linux, you can have several different versions of Java installed all at once, and they won't interfere with one another....
🌐
Oracle
java.com β€Ί en β€Ί download β€Ί help β€Ί linux_install.html
How do I download and install 32-bit Java for Linux?
Java on Linux Platforms This installs the Java Runtime Environment (JRE) for 32-bit Linux, using an archive binary file (.tar.gz) that can be installed by anyone (not only the root users), in any location that you can write to.
🌐
Octopus Deploy
octopus.com β€Ί devops β€Ί software-deployments β€Ί java-with-linux
Java With Linux: Installing Java On 6 Distros And Best Practices | Octopus Deploy
Package managers: Most Linux distributions provide OpenJDK (the open-source implementation of Java) through their default package managers (e.g., apt on Debian/Ubuntu, dnf on Fedora/RHEL, pacman on Arch Linux). This is generally the simplest and recommended method for most users. Manual installation: Oracle JDK or specific OpenJDK versions can be manually downloaded as .tar.gz archives and extracted to a desired location. This requires setting environment variables like JAVA_HOME and updating the system’s PATH.
🌐
Oracle
oracle.com β€Ί java β€Ί technologies β€Ί downloads
Download the Latest Java LTS Free
Running headless Linux workloads at or near your systems' CPU or memory limits Β· Enterprise Performance Pack brings significant memory and performance improvements including modern garbage collection algorithms, reduced memory usage and many other optimizations. ... Server Java Runtime Environment (Server JRE).
Find elsewhere
🌐
Ubuntu
ubuntu.com β€Ί tutorials β€Ί install-jre
Install the Java Runtime Environment | Ubuntu
sudo rm jre-8u291-linux-x64.tar.gz Β· Let the system know where JRE is installed: sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jre1.8.0_291/bin/java" 1 Β· After that’s done, check the installation by running: java -version Β· It should output the following: java version "1.8.0_291" Java(TM) SE Runtime Environment (build 1.8.0_291-b10) Java HotSpot(TM) 64-Bit Server VM (build 25.291-b10, mixed mode) Java Help Center Β·
🌐
Princeton CS
introcs.cs.princeton.edu β€Ί java β€Ί linux
Hello World in Java on Linux
August 14, 2019 - This document instructs you on how to setup a Java programming environment under Linux. It also provides a step-by-step guide for creating, compiling, and executing your first Java program using either DrJava or the command line. We assume some familiarity with the command line.
🌐
Princeton
lift.cs.princeton.edu β€Ί java β€Ί linux
Hello World in Java (Linux)
This document instructs you on how to set up a Java programming environment for your Linux computer.
🌐
The Knowledge Academy
theknowledgeacademy.com β€Ί blog β€Ί install-java-linux
How to Install Java on Linux: Step By Step Installation Guide
April 23, 2026 - This command will display the location of your Java installation on the terminal. It will show the path you just set as an output, which signifies that you have correctly set the environment variable. /usr/lib/jvm/java-11-openjdk-amd64/bin/java Β· Now, your Linux machine is ready to develop and run Java applications.
🌐
Reddit
reddit.com β€Ί r/java β€Ί [workflow] best setup for developing in java on linux?
r/java on Reddit: [workflow] Best setup for developing in Java on linux?
March 31, 2012 -

I know programming and did a bit of Java before. Now I want to do serious development (for academic purposes, so not that large scale).

What's the best setup for Java on linux (ubuntu)? I remember from back in the days 3 or 4 flavours of Java co-existing on my system, and things not working terribly well.

Which flavour should I go for if I want to use Java professionally? How do I install it and make sure it's the main one used?

Is Eclipse still the best thing in town? (never liked it, always used gedit, but I guess I'll have to change my ways)

Would I use the same setup for writing smartphone apps? (as a hobby, not part of the job)

Thank you all in advance!

Update: Thanks a lot for all the detailed answers!

So it looks like the java situation got a bit better on linux, and openJDK is a solid version. Good to know.

IDE-wise: many votes for eclipse, but intelliJ and netbeans are good alternatives. I'll give each a go.

Android dev: Eclipse is preferable.

Also important point that is shared by many: get java from the repositories,but the IDEs directly from the original websites (easier to configure, up-to-date and less bloated).

🌐
DEV Community
dev.to β€Ί mtendekuyokwa19 β€Ί setting-up-for-java-on-linux-133f
Setting Up for Java on Linux. - DEV Community
February 14, 2024 - To get started I will have to explain the two main components you need to have Java up and running on your machine. You will need the Java development kit (JDK) and an IDE. Yes, Just those two (does a backflip celebration).
🌐
WafaiCloud
wafaicloud.com β€Ί home β€Ί system administrators β€Ί linux β€Ί setting up a java development environment on linux
Setting Up a Java Development Environment on Linux - WafaiCloud Blogs
September 2, 2025 - Creating a robust Java development environment on Linux can enhance your programming experience, whether you are a seasoned developer or a beginner. In this guide, we will walk you through the essential steps to get your Java environment up and running on a Linux system.
🌐
OperaVPS
operavps.com β€Ί docs β€Ί install java in linux easily and quickly
βœ… Install Java in Linux Guide Step by Step
June 10, 2026 - To install Java in Linux, use your package manager. For example, on Ubuntu, run 'sudo apt update' followed by 'sudo apt install default-jdk' to install the Java Development Kit. Open a terminal and type 'java -version'.
🌐
Linux Mint Forums
forums.linuxmint.com β€Ί board index β€Ί main edition support β€Ί software & applications
Java Runtime Environment - Linux Mint Forums
March 29, 2022 - On Linux Mint you can install the openjdk JRE. It's the Java reference implementation. Open Synaptic Package Manager from your menu and search in it for "openjdk". Look for the packages called openjdk-<version>-jre. The latest version is openjdk-17-jre. If your Java program requires a specific JRE version it looks like also 8, 11 and 16 are available.
🌐
SourceForge
vietpad.sourceforge.net β€Ί javaonlinux.html
Configure Java environment on Linux
The file contains various shell commands which set and export necessary environment variables for Java. It assumes Apache Ant and Unicode TrueType fonts have been installed in appropriate directories. Ant is a tool widely used in building and executing Java applications.
🌐
LinuxVox
linuxvox.com β€Ί blog β€Ί java-runtime-linux
Java Runtime on Linux: A Comprehensive Guide β€” linuxvox.com
It includes the Java Virtual Machine (JVM), Java core classes, and supporting libraries. On Linux, the JRE allows you to execute Java programs without the need for a Java Development Kit (JDK), which is used for developing Java applications.
🌐
javaspring
javaspring.net β€Ί blog β€Ί java-linux
Java on Linux: A Comprehensive Guide β€” javaspring.net
When running Java on Linux, the JVM acts as an interpreter for the Java bytecode. The Linux operating system provides the necessary resources like CPU, memory, and disk space for the Java application to run.