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

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.

主站蜘蛛池模板: 洛阳市| 镇远县| 南皮县| 柳州市| 耒阳市| 临沂市| 句容市| 平谷区| 乐都县| 大新县| 始兴县| 威海市| 大厂| 湖南省| 穆棱市| 泽库县| 闸北区| 隆德县| 灌南县| 南江县| 德令哈市| 湖口县| 泰来县| 日照市| 福建省| 永州市| 多伦县| 宁安市| 清水河县| 沂源县| 万源市| 宝丰县| 竹溪县| 乐安县| 吉水县| 内黄县| 鄂伦春自治旗| 岚皋县| 吉木萨尔县| 武隆县| 繁昌县|