Install Java Environment

Mọi thông tin liên quan đến các khoá học Java dành cho Testers.
Forum rules
Mọi thông tin liên quan đến các khoá học Java dành cho Testers.
Post Reply
tranthinh1384
Hoc Tester
Posts: 1
Joined: Mon 01 Jun, 2020 11:53 am
Contact:

Install Java Environment

Post by tranthinh1384 »

WIN

1. Java JDK is available at Download Java

Image

2. After download, run the .exe file and follow the instructions to install Java on your machine. Once you installed Java on your machine, you have to setup the environment variable.

3. Go to Control Panel -> System and Security -> System.
Under Advanced System Setting option click on Environment Variables as highlighted below.

Image

4. Now, you have to alter the “Path” variable under System variables so that it also contains the path to the Java environment. Select the “Path” variable and click on Edit button as highlighted below.

Image

5. You will see a list of different paths, click on New button and then add path where java is installed. By default, java is installed in “C:\Program Files\Java\jdk\bin” folder

Image

6. Click on OK, Save the settings and you are done !! Now to check whether the installation is done correctly, open command prompt and type java -version. You will see that java is running on your machine


MAC

1. Install Homebrew

- Open terminal
- Type: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homeb ... install.sh)"
2. Install Java
- Open terminal
- Type: brew install homebrew/cask/java
3. Verify it
- brew cask info java
- You should see something like below, I have performed the installation when JDK 13 is out.

Image



Post Reply

Return to “Java for Testers”