banner



How To Check Java Installed On Windows

Coffee is a programming language that is platform-independent, popular, elementary, secure, and statically typed. Before discussing let's articulate Java language needs a runtime platform then before going ahead let's clear how coffee is present on the machine.

Java language comprises three components mainly:

  • Coffee Development Kit
  • Java Runtime Environment
  • Java Virtual Motorcar

Runtime Concepts than simply we will check whether Java is there on the Platform (Operating System + Compages)

1. Java Virtual Machine

This is a motorcarspecific software which is responsible for byte code on that automobile and converts it into machine-specific instructions.

JVM is different for Windows  JVM is different for Linux JVM is different for Different Platforms        

And then as a programmer we don't need to check presence on the auto as it is pre-installed in the machine. It is responsible for running Java lawmaking line by line.

2. Java Runtime Surround

It is only a bundle tlid provides an environment to only run our java code on the motorcar. No development takes identify hither because of the absence of developmental tools.

3. Coffee Development Kit

It is as well a package that provides an environment to develop and execute where JRE is a part of it along with developmental tools.

  • JDK = JRE + Developmental Tools
  • JRE = JVM + Library Classes

Now, The beginning and Foremost step is to bank check the Coffee Development Kit in Windows which is besides known equally JDK. At that place are lots of versions of Java. Depending upon the operating system methods in that location are several methods to find the version of Installed JAVA on your Machine:

Let us discuss iii standard methods in Windows

  1. User needs to open Command Prompt and enter- 'java -version'
  2. Open up control panel and lookup for Java
  3. Directories method- Click the Carte 'Outset' and typing About.java or readme file

Taking one past ane, showcasing in-depth individually

1. Control Prompt

The CMD (Control Interpreter is a command-line Interface. It supports a set of commands and utilities; and has its ain programming language for writing batch files. Open up CMD and search java -version. First, we have to an environment variable to the installed path location of the coffee folder. Otherwise, it will testify invalid control. It is called 'Final' in the case of mac operating systems.

java -version  // CMD/Terminal command to check java version on the auto        

In the case of Windows Bone: It is showing coffee is installed on the machine with version ane.8.0 (See carefully at line number five)

"1.8.0_144" is the version of the java

In the example of macOS: It is showing coffee is installed on the machine with version fourteen.0.1 ( see carefully at line number 2)

Second Method:

  • Open Control Console and there is an option of the coffee on the interface of the control panel
  • Click on the coffee option and click near a pocket-size pop window will appear

In the example of Windows:

In the instance of Mac: Click on the Coffee icon downside. System preferences in mac are the same as the Command panel in Windows.

Tertiary Method:

Search Plan and features in the control console and search JAVA Named option

In the case of Windows: Simply custom search- About Java

In the case of Mac:

Press the command button followed past a spacebar without lifting fingers from the control push button.

A popup box will announced for less than a second followed past some other pop-up as shown beneath:

Source: https://www.geeksforgeeks.org/different-ways-to-check-java-version-in-windows/

Posted by: hendersonmanst1992.blogspot.com

0 Response to "How To Check Java Installed On Windows"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel