java setup

 Describe Java.


Popular programming language Java was developed in 1995.



Java is used by more than 3 billion devices worldwide and is owned by Oracle.


It's employed for:


. Mobile apps, especially those for Android,

.Using desktop programs

.Web-based programs

.Application serversand web servers

.Database connection for games
And a whole lot more!

How Come Java?

Various operating systems, including Windows, Mac, Linux, Raspberry Pi, etc., support Java.

It is one of the most widely used programming languages worldwide purpose of use java and is in high demand in the labor market right now.

It is simple to use and simple to learn.

It is free and open-source.

It is powerful, quick, and secure.


There are tens of millions of developers who support it.

Java is an object-oriented language that provides programs with a clear structure and enables code reuse, reducing development costs.

Java is similar to C++ and C#, so programmers can easily switch from one to the other.


Java Install

Some PCs might have Java already installed.


To check if you have Java installed on a Windows PC, search in the start bar for Java or type the following in Command Prompt (cmd.exe):


C:\Users\Your Name>java -version

If Java is installed, you will see something like this (depending on version):


java version "11.0.1" 2018-10-16 LTS

Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)

Java Hot Spot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)


You can get Java for free from Oracle.com if it is not already installed on your computer.


Note: Using a text editor, we will write Java code in this tutorial. However, writing Java in an Integrated Development Environment (IDE) is possible. Examples of IDEs include IntelliJ IDEA, NetBeans , and Eclipse. These IDEs are particularly helpful when handling larger collections of Java files.


Installing Windows

Java needs to be set up on Windows.


the "System Properties" menu. (Can be accessed through the Control Panel's System and Security > System > Advanced System Settings menu.)

Under the "Advanced" tab, select the "Environment variables" button.

Next, choose the "Path" variable from the list of System variables and press the "Edit" button.

After adding the path to the location where Java is installed, click the "New" button. If nothing else was specified when you installed it, Java is automatically installed in C:Program FilesJavajdk-11.0.1. If so, you will need to add a new path with the following: C:Program FilesJavajdk-11.0.1bin.

After that, click "OK" to save the changes.

Finally, check to  see if Java is installed on your computer by opening Command Prompt(cmd.exe) and typing java-version.

HOW TO INSTALL JAVA STEP BY STEP WITH IMAGES

STEP NO 1:



STEP NO 2:



STEP NO 3:


STEP NO 4:


STEP NO 5:

Write the following in the command line (cmd.exe):

C:\Users\Your Name>java -version
If Java was successfully installed, you will see something like this (depending on version):

java version "11.0.1" 2018-10-16 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.1+13-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.1+13-LTS, mixed mode)

Comments

Post a Comment

Popular posts from this blog

Top 3 Reasons to Still Learning Java in Now a Days

Mathematics and Coding: Understanding the Connection

3 Must-Know Programming Concepts