Lesson 3 - Java Environment
Lesson 3 - Java Environment
Lesson 3
NEIL A. MUTIA, MIT
For Laptop Installation and
Configuration
If you are new to a specific computer, and you want to run a java program,
the first thing to do is to check if that computer has a Java Development Kit
installed. To perform the testing, you have to open the CMD and type “javac
-version”. If the CMD displays this message, it means that java is not yet
installed on the computer.
For Laptop Installation and
Configuration
To download the Java Development Kit, you must go to Google
and search for “java JDK download”.
Double click the installer, wait for a confirmation screen to appear, then
click yes. An installation wizard will appear and all you have to do is to
click the next button. Please follow the figures below to continue the
process.
For Laptop Installation and
Configuration
Figure 2.15 Screenshot of the edit Environment Variables with the JDK Directory
For Laptop Installation and
Configuration
At this point, the Java Development Kit is successfully installed on your computer. To verify it,
do the process in 2.1 Testing a Computer. If java version will appear like this (see Figure
2.16), java is already installed on your computer.
Figure 2.16 Screenshot of CMD that indicates JDK is already installed on the computer