QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to check and install java in Ubuntu 14.04

By Neha T Leave a Comment

Do you want to know how to check and install java?. By default Java Runtime Environment (JRE) or you can simply say Java is not installed on the Linux-based operating system. So, that is why first you have to check the java version and then install the package according to your need.

Just have a glance at this article to find out how to check and install java version.

Steps to check and install Java:

Step 1: First of all we have to check the java version, for that just type: “java -version” and then press enter.

how-to-check-and-install-java-version-in-ubuntu-14-04

Step 2: If your system doesn’t have Java installed then you may get following output as shown in the image below. Here, you’ll see a list of Java packages, and you can select the package according to your need. Use “sudo apt-get install <selected package>”to install any package and then hit enter.

how-to-check-and-install-java-version-in-ubuntu-14-04

Step 3: Type: “sudo apt-get update” in order to update all the packages before installing Java.

how-to-check-and-install-java-version-in-ubuntu-14-04

Step 4: Now, type: “sudo apt-get install openjdk-6-jre-headless” and then hit enter.

how-to-check-and-install-java-version-in-ubuntu-14-04

Step 5: Press Y (yes) when prompted “Do you want to continue? [Y/N]”.

how-to-check-and-install-java-version-in-ubuntu-14-04

Step 6: Now, again type: “java -version” to check whether java gets installed in your system. If it is installed, then you’ll get the following message as shown in the image below. The output may differ according to your java package.

how-to-check-and-install-java-version-in-ubuntu-14-04

That’s all friends. Keep Reading.

You Might Also Like:

How-to-install-oracle-java-in-ubuntuHow to Download and Install Oracle Java in Ubuntu how-to-install-java-in-firefox-feature-imageHow to Install Java in Firefox How to Disable Java Update Notification / jucheck.exe in Windows 7 how-to-install-and-configure-wine-in-ubuntuHow to Install and Configure Wine on Ubuntu How to Check Ubuntu Version how-to-install-mysql-in-ubuntu-using-terminalHow to Install MySQL in Ubuntu using Terminal how-to-install-google-chrome-and-customize-it-in-ubuntuHow to Install Google Chrome and Customize it in Ubuntu How to Install Classic Gnome menu in Ubuntu 14.04

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to password protect a PDF file
  • How to enable hibernate option in Ubuntu 14.04
  • How to Take a Screenshot in Windows 10?
  • How to Schedule a Zoom Meeting?
  • How to Enable / Disable Regedit in Windows 7

Copyright © 2023 · QueHow · Contact Us