PDF download Download Article PDF download Download Article

The web is full of Java-based programs. They allow for greater interactivity and can power some very creative pages. In order to see this content, your computer will need to have the Java Runtime Environment (JRE) installed. Installing the JRE only takes a few minutes, regardless of your operating system. See Step 1 below to learn how.

  1. For instructions on installing the developer tools (JDK), see this guide. Java is also different than JavaScript. If you need to enable JavaScript, see this guide.
  2. Java installs system files which all browsers use, so there is no need to follow special instructions for specific browsers. You can get to the Java installer from the Java home page.
    • The Java installer will download files during the installation process. If you need to install Java on a device without a network connection, download the Offline Installer, available on the Manual Downloads page.
    • Depending on your browser settings, you may need to accept the Java installation download before it begins.
    • For Mac OS X 10.6, Java comes preinstalled. For OS X 10.7 and above, Java is not preinstalled. You will need OS X 10.7.3 or newer to install Java. You must also be using a 64-bit browser such as Safari or Firefox (i.e. not Chrome).[1]
    • For Linux, Java needs to be downloaded, manually installed, and then enabled in order to work. See this guide for detailed instruction on installing Java in Linux.
    Advertisement
  3. Once the installer has finished downloading, run it to begin the installation. On OS X, double-click the .dmg file to begin the installation.
    • Close any browser windows before starting the installation, as they will need to be restarted anyway after installation is complete.
  4. Read each screen of the installation program. Java will try to install extra software such as browser toolbars unless you uncheck the boxes. If you don't want your browser changed, make sure to read each screen carefully.
  5. After you have finished installing Java, test the installation to make sure everything went OK. You can find the Java testing applet on the Java website, or by searching for "java test" and selecting the first result.
    • You will need to allow the plugin to run, and you may be asked multiple times before it can load. This is because, in general, Java can be a dangerous tool which can grant others access to your computer if you are not careful. Always be sure you trust the website that you are running Java applets on.[2]
  6. Advertisement

Community Q&A

Search
Add New Question
  • Question
    What does invalid command mean when I try to download a .jar file?
    Community Answer
    Community Answer
    It could mean you have to clear up space. Try to delete unwanted files.
  • Question
    Is it important to download JDK?
    Community Answer
    Community Answer
    You only need to download the JDK if you are looking to develop or debug Java-based software. If you're just looking to run Java applications, the JRE is enough. You get the JRE by normally installing Java.
  • Question
    What do I do if it keeps coming up with the coding text box?
    Community Answer
    Community Answer
    If it's in the installer, redownload the installer. If the installer works, download jarfix.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Video

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

Warnings

  • Be careful with Java! Some of the websites may have malicious scripts that are programmed with Java and it could damage your computer, so be careful where you are going to.
Advertisement

You Might Also Like

Install Java on LinuxInstall Java on Linux
Install the Java Software Development KitInstall the Java Software Development Kit
Install Google Chrome Using Terminal on Linux
Remove Microsoft Edge Uninstall Microsoft Edge Permanently from Windows 10 or 11
Install DEB Files Install DEB Files in Linux: Gdebi, Apt, Dpkg, & More
Install Roblox Install Roblox
Download Spotify on Mac6 Quick Steps to Download & Install Spotify on macOS
Install Altstore Install AltStore on an iPhone or iPad
Disable McAfee Disable McAfee LiveSafe or Total Protection Without Uninstalling
Install the Sims 4 Install The Sims 4: Mac, PC, PlayStation, & Xbox
Uninstall ValorantA Step-by-Step Guide to Uninstalling Valorant
Uninstall Outlook on PC or MacSimple Ways to Uninstall Outlook on a PC or Mac
Uninstall OperaUninstall Opera
Uninstall Epic Games Launcher2 Simple Ways to Uninstall the Epic Games Launcher
Advertisement

About This Article

wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 17 people, some anonymous, worked to edit and improve it over time. This article has been viewed 253,718 times.
How helpful is this?
Co-authors: 17
Updated: May 27, 2023
Views: 253,718
Thanks to all authors for creating a page that has been read 253,718 times.

Is this article up to date?

Advertisement