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

Installing Java

Following are the steps to install Java:

  1. Visit the JDK download page and download the (jdk-8uversion-windows-xxx.exe) package based on your machine configuration (either the amd64 or x64).
  2. Install Java from the downloaded package.
  3. Once installed, bring up the search box and type advanced system setting. Click on the View advanced system settings search result.
  4. On the system properties window, click on the Advanced tab and click on Environment Variables.
  5. Under the System variables section, click on New and add a variable name--JAVA_HOME--and check for the installed location of the JDK. It will be similar to C:/Program Files/Java/jdk1.8.xxx.
  6. Under the System variables section, scroll to find PATH and click on editAdd %JAVA_HOME%\bin at the end.
  7. Once done, launch the Command Prompt and type java -version; you should see the illustrated output with different version details based on the JDK version you installed:
      java version "1.8.0_73"
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
  1. You can also try running the echo %JAVA_HOME% command in Command Prompt, which should display the path we set earlier.
主站蜘蛛池模板: 泾源县| 桦甸市| 旅游| 连城县| 鹿邑县| 孝昌县| 平和县| 石狮市| 呼和浩特市| 南丰县| 峨山| 鄱阳县| 缙云县| 冷水江市| 威信县| 泽普县| 隆化县| 登封市| 富顺县| 缙云县| 永新县| 永顺县| 绥芬河市| 无棣县| 左云县| 江陵县| 镇雄县| 峡江县| 江津市| 吉林省| 张家界市| 浦东新区| 新乡县| 大英县| 桑日县| 博兴县| 开封县| 长葛市| 玉龙| 阿拉善右旗| 巴东县|