How to Install Java JDK 12 on Windows 10 - Study Viral
After the download has been completed follows these simple steps to install Java JDK 12 on Windows 10.
Step 1: Open the downloaded file and it will open a installation wizard simply click on Next.
Java is one of the world’s most important and widely used computer language. It is an object-oriented language and it is very easy to learn. To write and run Java code we need to install Java JDK on our computer. This article is all about How to Install Java JDK 12 on Windows 10 Operation System.
Java SE 12 is the latest release for the Java SE Platform(JDK).
Before installing Java JDK 12 on our Windows 10 computers, first of all, we need to download it right!
How to Download Java JDK 12
Open any browser, search for download Java JDK 12 oracle and open the link form oracle.com and click on “Download Java Platform (JDK) 12“. It will redirect you to the download page from where you can download the Java SE 12 installation file.To download first of all, we need to Accept License Agreement and we have to select our operating system. For windows 10 click on jdk-12_windows-x64_bin.exe
Note: If you use a 32-bit operating system then you can’t install Java JDK 12 because to install it we need a 64-bit operating system
How to Install Java JDK 12 on Windows 10
After the download has been completed follows these simple steps to install Java JDK 12 on Windows 10.Step 1: Open the downloaded file and it will open a installation wizard simply click on Next.
Step 2: You can change your installation location but I will suggest you keep it to default and click on Next. Java JDK 12 will be installed.
By just downloading and installing Java JDK 12, Java will not work. We need to set the environment variable. This will help to compile Java Code.
To set up Java JDK 12 environment variable follow these steps:
Step 1: Open C Drive
Step 2: Open the Program Files folder and look for Java folder and open it.
Step 3: Inside the Java folder you will find jdk 12 folder and open the bin folder and copy the path of bin folder.
Step 4: After that Go to Control Panel > System and Security > System > Advanced System Setting > Environment Variables
OR
Step 4: Right Click on THIS PC > Click on Property > (On Right Side of Screen You can see) Advanced System Setting > Environment Variables
Step 5: Under System variable, you will find “PATH” just edit the PATH and add the bin folder location.
Now to check whether Java is successfully set up or not, open Command Prompt and type this two command “java -version” and “javac“. javac is a compiler which helps you to compile your java file. If you find a bunch of statement in command prompt then Java JDK 11 is fully installed on your system.
0 comments:
Post a Comment