close
附註:本文僅屬記錄與經驗分享且在非乾淨電腦中安裝,若有遺漏或錯誤煩請指正,如有侵權請來信告知。

Eclipse 執行環境需要JDK才能跑的起來,以下為相關資訊。

0.目錄


1. 安裝環境

2.下載JDK並安裝










 1.安裝環境



  • Windows 8.1 X64

  • Java SE Development Kit 7



2.下載JDK並安裝



[caption id="attachment_314" align="aligncenter" width="510"][Android]安裝JDK Step 1[/caption][caption id="attachment_315" align="aligncenter" width="510"][Android]安裝JDK Step 2[/caption][caption id="attachment_316" align="aligncenter" width="510"][Android]安裝JDK Step 3[/caption][caption id="attachment_317" align="aligncenter" width="510"][Android]安裝JDK Step 4[/caption][caption id="attachment_318" align="aligncenter" width="510"][Android]安裝JDK Step 5[/caption]

  • Windows版本安裝完成後應該會自動設置文件關連,直接執行Eclipse應該就可以開啟了。

  • 如果還是出現無法開啟的錯誤可能原因有兩個:

    • 沒有成功設定JAVA_HOME,需要手動設定路徑(可先用cmd輸入 echo &JAVA_HOME% 看有沒有設定值)

      • 開啟環境變數設定

        • Win 7 :點選 開始 > 我的電腦 > 右鍵 > 內容 > 進階系統設定 > (進階) > 環境變數

        • Win 8 :點選 設定 > 電腦資訊 > 進階系統設定 > (進階) > 環境變數



      • 編輯系統環境路徑Path  指到你安裝jre/jdk的路徑,即在原有內容後方加入

        • C:Program Files (x86)Javajre7;      (與之前的內容用分號隔開)

        • C:Program Files (x86)Javajre7bin;





    • 錯誤的版本,如果你的JDK下載的是32bits就要用 32bits的Eclipse,同樣的64bits的Eclipse就需要64bits的JDK




 

 
arrow
arrow
    全站熱搜

    Robarter 發表在 痞客邦 留言(0) 人氣()