Scott@JAVA

          Java, 一杯濃濃的咖啡伴你到深夜

          Setup JDK on Linux

          My Linux distribution is Everest 0.1

          1. Download JDK 6 Beta from SDN
          jdk_download.png

          2. Assume you put jdk-6-beta-linux-i586.bin in /usr/local
          [root@localhost?local]#?./jdk-6-beta-linux-i586.bin
          After you agree the license, a folder named "jdk1.6.0" will be unzipped out

          3. Set environment variable to let Java function
          Create a file named "java.sh" in /etc/profile.d
          [root@localhost?profile.d]#?vi?java.sh
          The content of the file is as below
          JAVA_HOME=/usr/local/jdk1.6.0
          PATH
          =$PATH:$JAVA_HOME/bin
          export?JAVA_HOME?PATH
          Trigger by the following command (or you have to reboot)
          [root@localhost?profile.d]#?source?java.sh

          4. Check whether you make it or not
          [root@localhost?~]#?java?-version
          java?version?
          "1.6.0-beta"
          Java(TM)?
          2?Runtime?Environment,?Standard?Edition?(build?1.6.0-beta-b59g)
          Java?HotSpot(TM)?Client?VM?(build?
          1.6.0-beta-b59g,?mixed?mode,?sharing)

          posted on 2006-06-14 22:01 Scott@JAVA 閱讀(386) 評論(0)  編輯  收藏 所屬分類: Jave SE 6

          主站蜘蛛池模板: 莎车县| 绥芬河市| 海伦市| 叙永县| 孟村| 遂宁市| 梁山县| 庆城县| 隆回县| 博乐市| 突泉县| 富宁县| 新宾| 辛集市| 买车| 昌江| 景泰县| 龙南县| 郓城县| 奈曼旗| 社会| 赤城县| 深水埗区| 凤翔县| 黄冈市| 和林格尔县| 太康县| 盘山县| 疏附县| 青田县| 祁连县| 筠连县| 呼和浩特市| 盐津县| 修水县| 北流市| 旬邑县| 永济市| 平昌县| 黄陵县| 连南|