2. Basic Definition and JDK installation

Basic Definitions

Language: It is a mode or medium of communication between two entities.

Programming Language: It is a language used to command the computer or machine to perform specific tasks. Example: Java.

Programmer: A human being who knows a programming language is known as a programmer.

Programming: It is the process of creating a set of instructions using a programming language. This process is known as programming.

Binary Language: It is a language that consists of only two characters, 0's and 1's. Binary language is the language of machines.

Source Code: Source code is a file that contains sets of instructions written by a programmer using a programming language. Each source code file has its language extension. Examples: demo.java, demo.html.

Byte Code: It is an intermediate file generated by the compiler. It contains some predefined sets of words that are only understandable through an intermediate software (i.e., interpreter). Byte code is given as input to the Java Virtual Machine (JVM).


JDK Installation

Step 1: Go to your browser and search for "JDK download." Click on the first link from the official Oracle website.














Step 2: On the Oracle JDK download page, you will see different download options for various operating systems (OS). For Windows, look for the option labeled "Windows x64 Installer" and click on it to download the installer file.













Step 3: Once the download is complete, open the installer file. Follow the prompts in the installation wizard. You will need to agree to the license terms and then click "Next" to proceed through the installation steps. Click "Close" when the installation is complete.












These steps will guide you through the process of downloading and installing the JDK on your Windows system.

Process to Check Java and Compiler Version -

Step 1: Press the Windows key and search for "Command Prompt." Click on the Command Prompt application to open it.

Step 2: In the Command Prompt window, type java -version and press Enter. This will display the version of Java that you have installed.











Step 3: To check the compiler version, type javac -version and press Enter. This will display the version of the Java compiler installed on your system.








These steps will help you verify the installation and version of Java and the Java compiler on your machine.

Comments

Post a Comment