What is Java:
As c++ is a programming language Java is also a programming language and computing platform and was released in 1995 for the first time. This programming language is designed for use in the distributed environment of the internet. It is the most popular programming language for Android smartphone applications and other mobile phone applications. It is looks like c++ but simpler in use. It adopted object oriented programming model. Java can be used to create applications that may run on a single computer or in distributed enviroment and server. It can be used for embedded system and other things. According to java website java is everywhere which means java is in most of devices except IOs operating system.
How to install IDE for Java:
Here my totall concentration will be over installation of IDE for java. So if you are new to java and you want to learn java and coding in it then you need to read all of this article and you have to follow me step by step. I was wandering how to install IDE for java and which one should I need to install because there are many IDE for java one of them is eclipse too. Which is the best. But installing and configuring eclips was difficult for me as a student. I have installed eclipse for java too. But I liked another IDE for java which is easy in installation and in configurations. So if you are a student and you are new to java then I will recommend you "IntelliJ IDEA" for you. Download it and install it for java. It works awesome. I myself comfortable with this IDE. Before you install IntelliJ IDEA you need to install java enviroment first which is JDK means Java Development Kit and you can download it from oracle website. I will tell you how to. So first we need to install JDK and then IntelliJ IDEA for java.
Downloading and Installation of JDK:
As I mentioned above that JDK which is an enviroment of java is necessary. So how to do that. You need to serch it on google or just visit its official website by clicking here. After visiting download the latest version of JDK from the website. Follow bellow screenshot for downloading the correct JDK.
Here you see in second screenshot, there are jdk for many operating system and platform. You need to download for own one. I circled windows 86 and 64 because I use windows. So I needed to download the x64 bit jdk for my windows 10. You should download for your own OS. After downloading just click on the .exe file and proceed to complete the installation. It is easy to install. Don't worry about. After installation you can check whether the enviroment works correctly or not. Let me tell you how to check it. Open cmd or command prompt and type "java -version" without quotations marks. It you have installed it correctly , after the execution of the command the version of JDK will appear with information. So done. Just move on and you may proceed to the next step which is the downloading and installation of IntelliJ IDEA.
Downloading and Installation of IntelliJ IDEA:
As you know that installing of JDK is must for java. You must install JDK first. After JDK installation and testing, you need to download IntelliJ IDEA from its offical website. You can search it on google or just click here for visiting the site. Once you visit the site, download the free version. After downloading simply install it. After installaion we just need to configure it .I will tell you how to configure it bellow . So after completing installaion follow for better configuration. Once the below screen appear, click on the "Configure" link on the right below corner and select the "Project Default" and "Project" Structure. A new windows will appear. There in the left menu bar click on SDK's and then click on "+" to add JDK which was installed before. It is sometime in C:\\programs files\\JAVA and select the JDK folder there having supported version and then click on apply and then on OK. So done. You have configured your intelliJ IDEA to use. Next what you need to do is to create a project or open a project if you have already and that is easy. I must show you how to create a project especially a project of "welcome to java" bellow.
How to Create A New Project (Welcome to Java) in Intellij IDEA:
Click on "Create New Project" and then click next without selecting anything. Then click on "Create Project From Template" and then click on next. Give a title to the project. Lets for example we give it welcome. In project location select the place you want to store your project. You can leave it for default. Then click on Finish. Wait for a moment so all files can be scanned and ready and indexed. After loading and indexing completed, click on Run from top menu and then click Run Main. Running program will takes just few mili seconds or seconds. The program will be executed successfully if there is no syntex error in your programm. For Welcome to Java program write the below code in there and then run it. Before that click on view from the top menu and then select toolbar which will appear a run sybol and then you won't neet to click on run and then on run main each time.
If you don't prefer reading then follow the below video: