Best Answer: How Do I Install 64 Bit Java on Ubuntu?
Contents

How do I install Java on Ubuntu?

Java Runtime Environment

  1. Then you need to check if Java is already installed: java -version. …
  2. Run the following command to install OpenJDK: sudo apt install default-jre.
  3. Type y (yes) and press Enter to resume installation. …
  4. JRE is installed! …
  5. Type y (yes) and press Enter to resume installation. …
  6. JDK is installed!

How do I install 32 bit Java on 64 bit Ubuntu?

32 bit JDK on a 64 bit Ubuntu System

  1. My latest strategy has been to use the 64 bit kernel. …
  2. To install the 32 bit JDK from Sun on a 64 bit system you can use java-package. …
  3. First, download the latest 32 bit JDK (not JRE) from Sun. …
  4. Use update-alternatives to select the new JDK.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest