官术网_书友最值得收藏!

Installation on Windows

The installation process on Windows starts by double clicking on the downloaded file. It will start the installer that will present you a welcome screen.

Pressing the Next button we get a window where you can select the parts you want to install. Let's leave here the default selection, which means that we install all the downloaded parts of Java and press the button Next. The following window is where we can select the destination folder for the installation.

As for now we do not change the directory selected by the installer. Press Next. Later, when you become a professional Java developer, you may decide to install Java to a different location but then you will already have to know what you are doing.

You may need to click the Next button a few times and then the installer finishes. Provide the administrative password when asked and voila! Java is installed. This is really the very usual Windows installation process.

The last step is to set the environment variable JAVA_HOME. To do that in Windows we have to open the control center and select the Edit environment variables for your account menu.

This will open a new window that we should use to create a new environment variable for the current user.

The name of the new variable has to be JAVA_HOME and the value should point to the installation directory of the JDK.

This value on most of the systems is C:Program FilesJavajdk-9. This is used by many Java programs and tools to locate the Java runtime.

主站蜘蛛池模板: 屏东县| 繁峙县| 清镇市| 宁夏| 嘉善县| 阿城市| 阳泉市| 德江县| 阳泉市| 苍南县| 射阳县| 泰来县| 瑞丽市| 交口县| 呼伦贝尔市| 都兰县| 通辽市| 泗阳县| 福州市| 白河县| 察隅县| 康马县| 万宁市| 南京市| 苏尼特左旗| 西青区| 长宁县| 万山特区| 甘谷县| 泾阳县| 新晃| 准格尔旗| 岱山县| 洪湖市| 凯里市| 隆昌县| 新平| 苏州市| 大名县| 绵阳市| 昭苏县|