紫風亂寫

          除了他眼前的屏幕,這個人什么也沒看見。
          被周圍的電腦簇擁著,他只知道他所創造的現實,但又意識到那是虛幻。
          他已經超越了技術。也超越了機器。
          posts - 62, comments - 93, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          install eclipse

          Posted on 2010-07-22 23:27 Justfly Shi 閱讀(338) 評論(0)  編輯  收藏 所屬分類: Ubuntu

          install jdk via Synaptic package manager, the name of it is sun-java6-jdk
          download the eclipse install file for Linux

          1.Extract the eclipse download and move to opt.

          tar xzf wtp-all-in-one-sdk-1.0-linux-gtk.tar.gz
          sudo mv eclipse /opt/eclipse
          cd /opt
          sudo chmod -R +r eclipse
          sudo chmod +x `sudo find eclipse -type d`

          2. Then create an eclipse executable in your path
          sudo touch /usr/bin/eclipse
          sudo chmod 755 /usr/bin/eclipse
          sudo vi /usr/bin/eclipse

          With this contents
          #!/bin/sh
          export ECLIPSE_HOME="/opt/eclipse"
          export GDK_NATIVE_WINDOWS=1

          $ECLIPSE_HOME/eclipse $*

          3 Then create a gnome menu item
          sudo vi /usr/share/applications/eclipse.desktop

          With this contents
          [Desktop Entry]
          Encoding=UTF-8
          Name=Eclipse
          Comment=Eclipse IDE
          Exec=eclipse
          Icon=/opt/eclipse/icon.xpm
          Terminal=false
          Type=Application
          Categories=GNOME;Application;Development;
          StartupNotify=true


          4 You now have a working eclipse. But run this command first to initialize the set up
          . /opt/eclipse/eclipse -clean

          Then from here on you can run from the menu item applications/programming/eclipse

          主站蜘蛛池模板: 河源市| 东阳市| 浦城县| 三明市| 墨江| 景德镇市| 山丹县| 齐河县| 星子县| 恩施市| 宁海县| 慈溪市| 南宁市| 商河县| 广宗县| 资源县| 乐安县| 乌恰县| 大田县| 正宁县| 黄骅市| 南城县| 衡东县| 江口县| 石家庄市| 蛟河市| 金华市| 宁德市| 即墨市| 德兴市| 宣恩县| 平江县| 苗栗县| 河津市| 清流县| 肇源县| 无锡市| 娄烦县| 工布江达县| 安国市| 保山市|