Do you need to install Oracle's Java? Cuz if you don't need you can just open a terminal and type sudo apt install default-jre -y and it's ready to use (if you're on debian-based distros) Answer from ygonspic on reddit.com
🌐
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.
🌐
Oracle
oracle.com › java › technologies › downloads
Download the Latest Java LTS Free
For Java developers. Includes a complete JRE plus tools for developing, debugging, and monitoring Java applications. Running headless Linux workloads at or near your systems' CPU or memory limits
Discussions

How do I install Java JRE on Linux?
Do you need to install Oracle's Java? Cuz if you don't need you can just open a terminal and type sudo apt install default-jre -y and it's ready to use (if you're on debian-based distros) More on reddit.com
🌐 r/linuxquestions
15
7
February 16, 2021
java - How to install the JDK on Ubuntu Linux - Stack Overflow
Note: This is an old question and the answers reflect the world as it was then. Modern Ubuntu distributions have OpenJDK available which can be installed with sudo apt install default-jdk I am tr... More on stackoverflow.com
🌐 stackoverflow.com
Why is Java considered more of a "first class citizen" in the Linux world compared to .NET/Mono?
Linux might treat .NET as a "first class citizen" when .NET treats Linux as a "first class citizen". The full runtime and standard libraries are available for Linux and are open source (not just core) Developer Studio runs on Windows Desktop applications created with Visual Studio work equally as well on Linux. And in any other way that Linux might be locked out of the .NET world. I consider Mono hard-linked to the .NET world, so I can't really put it on an island and think of it or treat it completely differently. (edit:typo) More on reddit.com
🌐 r/linux
317
256
December 3, 2023
[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
🌐
Ubuntu
ubuntu.com › tutorials › install-jre
Install the Java Runtime Environment | Ubuntu
The Java Runtime Environment (JRE) is required to run Java programs. Nowadays there are many JRE packages available from a variety of projects and companies, but the two most popular on Ubuntu are OpenJDK and Oracle HotSpot.
Find elsewhere
🌐
Princeton
lift.cs.princeton.edu › java › linux
Hello World in Java (Linux)
It also provides a step-by-step guide for creating and compiling a Java program in IntelliJ and executing it from the command line. You will need a 64-bit version of Linux (such as Ubuntu, Fedora, or Debian) with root privileges.
🌐
ArchWiki
wiki.archlinux.org › title › Java
Java - ArchWiki - Arch Linux
May 15, 2026 - Java applications are typically compiled to bytecode that can run on any Java virtual machine (JVM) regardless of computer architecture. 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.
🌐
DEV Community
dev.to › thegroo › install-and-manage-multiple-java-versions-on-linux-using-alternatives-5e93
Install and manage multiple Java versions on Linux using alternatives - DEV Community
February 10, 2022 - Java is the most used programming language for developing complex and enterprise software and it has by far the better ecosystem with it's available libraries, IDEs and tooling. My preferred development environment is Linux so I'd rather use Linux alternatives to manage java SDK installations as it's built-in in Linux and allow you to manage not only java but any other binaries you want to manage and make accessible in your command line when using Linux.
🌐
GitHub
gist.github.com › wagyourtail › b115f66d135b3818b63d9b27048d80e6
Installing Java 8 on various Linux distros · GitHub
This guide will show you how to install both the openjdk and oracle java distros on linux via the command line, the steps are practically identical for the JDK, but have a different download links / package names.
🌐
Octopus Deploy
octopus.com › devops › software-deployments › java-with-linux
Java With Linux: Installing Java On 6 Distros And Best Practices | Octopus Deploy
Java and Linux are frequently used together, as Linux is a popular operating system for deploying and running Java applications. This combination is common in various environments, from development workstations to enterprise servers and cloud ...
🌐
Reddit
reddit.com › r/linux › why is java considered more of a "first class citizen" in the linux world compared to .net/mono?
r/linux on Reddit: Why is Java considered more of a "first class citizen" in the Linux world compared to .NET/Mono?
December 3, 2023 -

Objectively speaking, they're both gc runtimes, one compiles to bytecode and the other to CIL. In that sense, none of them are "native citizens" of Linux, for lack of a better word.

Now, the spite of the Tux folks against Microsoft is also quite understandable given the history of open source and the early days of evolution of both the operating systems. But times have changed today, isn't it? Today's linux users and developers shouldn't have that baggage on their shoulders while programming.

But to this day, things like MonoDevelop and the mono runtime aren't highly used and/or supported in the Linux distros? If you want to create a cross-platform GUI, for example, most would think of a Java framework like Swing or JavaFX instead of Mono. WinForms support was already expected on the Linux distro considering the Mono project has been going on for so long. Where do you think the bottleneck really is? And where do you see the future of ".NET on Linux" going?

🌐
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).

🌐
Opensource.com
opensource.com › article › 19 › 11 › install-java-linux
How to install Java on Linux | Opensource.com
$ tar --extract --file openjdk*linux-x64_bin.tar.gz \ --directory=$HOME/bin · Java is now installed.
🌐
Charles Schwab
schwab.com › trading › thinkorswim › download
thinkorswim Download | Charles Schwab
Your operating system may invoke Java in a different way. To start the installer, add launcher.jar to your CLASSPATH, then start the main class of the installer named install. Note: For clients intending to run thinkorswim on Linux, Solaris or other Unix variants, manual updates and tuning may be required.
🌐
Azul Systems
azul.com › home › azul downloads
Java 8, 11, 17, 21, 25 Download for Linux, Windows and macOS
January 30, 2023 - Click here to download the Azul Zulu Builds of OpenJDK for Java 8, 11, 17, 21, 25 for Linux, Windows and macOS. Also download Azul Platform Prime.
🌐
Bell Software
bell-sw.com › pages › downloads
Download JDK 8, 11, 17, 21, 25, 26 | Java Builds for Linux, Windows and macOS
Download Liberica JDK, supported OpenJDK builds. Open source Java 8, 11 and more for Linux, Windows, macOS.