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

Installing the Java Development Kit (JDK)

You may already have Java installed on your machine. You can check by opening a terminal window and running the command java-version. If you do not have Java or need to upgrade, follow the steps:

  1. Browse on over to the Java SE Downloads web page at http://www.oracle.com/technetwork/java/javase/downloads/index.html and get it. Look for the JDK button icon, which takes you to the downloads page.
  2. Choose the package for your system. For example, for Windows choose Windows x64. After the file downloads, open it and follow the installation instructions.
  3. Make a note of the installation directory for later reference.
  4. Once installed, open a fresh terminal window and run java -version once more to verify.

Whether you just installed the JDK or it was already there, please make a note of its location on your disk. You will need to tell Unity this information in a later step.

On Windows, the path is probably something like Windows: C:\Program Files\Java\jdk1.8.0_111\bin.

If you can't find it, open Windows Explorer, navigate to the \Program Files folder, look for Java, and drill down until you see its bin directory, as the following screenshot shows:

On OS X, the path is probably something like: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home.

If you can't find it, from a terminal window, run the following command: /usr/libexec/java_home.

主站蜘蛛池模板: 陕西省| 崇文区| 屯昌县| 平潭县| 阿克苏市| 凤冈县| 宁化县| 临泽县| 五常市| 鄂伦春自治旗| 雷山县| 昌黎县| 垣曲县| 崇明县| 库伦旗| 高安市| 措勤县| 清徐县| 石门县| 新龙县| 壤塘县| 区。| 澎湖县| 固阳县| 东城区| 阿巴嘎旗| 巨鹿县| 牡丹江市| 新化县| 新郑市| 平遥县| 杭锦旗| 噶尔县| 鸡西市| 寿阳县| 紫阳县| 胶南市| 抚松县| 云安县| 昆山市| 祥云县|