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

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.

主站蜘蛛池模板: 南岸区| 哈尔滨市| 剑阁县| 河北区| 南漳县| 黑水县| 格尔木市| 鸡西市| 曲阜市| 泸溪县| 易门县| 商洛市| 鲜城| 包头市| 旌德县| 应城市| 扎鲁特旗| 额尔古纳市| 沈阳市| 广宗县| 榕江县| 通榆县| 乌兰浩特市| 吉木乃县| 泾川县| 扎兰屯市| 夹江县| 寻甸| 乐安县| 蒲城县| 揭阳市| 高淳县| 儋州市| 高碑店市| 麦盖提县| 饶河县| 浑源县| 庆元县| 潼南县| 客服| 安新县|