Does Java Work on Ubuntu?
Contents

By default, Ubuntu does not come with Java (or the Java Runtime Environment, JRE) installed. However, you may need it for some programs or games like Minecraft. We will show you how to quickly and easily check if Java is installed and how to install it.

Can Ubuntu run Java?

The Java Runtime Environment (JRE) is required to run Java programs. While there are multiple JRE variants available, the two most popular ones on Ubuntu are OpenJRE and Oracle JRE.

How do I enable Java on Ubuntu?

Mozilla Firefox

  1. Become the root user by running the su command and then enter the super-user password. Type: sudo -s.
  2. Create a directory called plugins if you do not have it. Type: …
  3. Go to Mozilla plugins directory before you make the symbolic link. Type: …
  4. Create a symbolic link. Type: …
  5. Restart your browser and test Java.
Sarah Jenkins

Sarah Jenkins

Senior Technology Editor & AI Specialist

Sarah Jenkins is a veteran tech journalist with over 12 years of experience covering artificial intelligence, mobile innovations, and digital ethics. Her insights have appeared in leading technology publications worldwide.

Share this article
Twitter Facebook Pinterest