1 / 18

系統所需軟體安裝程序

系統所需軟體安裝程序. 所需軟體. JDK 1.6.x 以上 Apache Tomcat Web Server 6.0.24 Eclipse IDE for Java EE Developers Tomcat Eclipse plugin. JDK 1.6.x. JDK 1.6.x 以上 設定 java 環境變數 ( 我的電腦 [ 右鍵 ] => 內容 => 進階 => 環境變數 => 系統變數 ) : 新增 JAVA_HOME 變數值為 C:<JDK 安裝目錄 > PATH 中增加 %JAVA_HOME%bin.

glyn
Download Presentation

系統所需軟體安裝程序

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 系統所需軟體安裝程序

  2. 所需軟體 • JDK 1.6.x 以上 • Apache Tomcat Web Server 6.0.24 • Eclipse IDE for Java EE Developers • Tomcat Eclipse plugin

  3. JDK 1.6.x • JDK 1.6.x 以上 • 設定java環境變數( 我的電腦[右鍵] => 內容 => 進階 => 環境變數 =>系統變數 ): • 新增JAVA_HOME變數值為 C:\<JDK安裝目錄> • PATH中增加 %JAVA_HOME%\bin

  4. 下載 Jakarta Tomcat Server • http://apache.cdpa.nsysu.edu.tw/tomcat/tomcat-6/v6.0.24/bin/apache-tomcat-6.0.24.zip • 下載完畢後,將它解壓縮。同樣的,目的地只需要指明C槽根目錄即可(C:\)

  5. 啟動 Tomcat • 把目錄轉換到C:\jakarta-tomcat-6.0.24\bin目錄下,然後雙擊startup.bat 這個檔案。過ㄧ段時間後,你應該會看到如下的畫面。

  6. 測試 Tomcat • 5. 開啟IE瀏覽器,輸入 http://localhost:8080。應該看到如下的畫面。

  7. 安裝Eclipse IDE for Java EE Developers (189 MB) • 下載位置: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip&url=http://eclipse.stu.edu.tw/technology/epp/downloads/release/galileo/SR1/eclipse-jee-galileo-SR1-win32.zip&mirror_id=75 • 直接解壓縮即可。解壓縮目的地請指明是C槽的根目錄,也就是C:\ • 解壓縮完畢你的目錄中應該會有如下的結構: 注意:一定要解壓縮於 C:\

  8. 中文版Eclipse (Galileo版本) • 功能列[Windows]->[Preference]- • >Install/Update -> Avaliable Software Sites • • 點選(Add)按鈕,填入下列資料: • – Name: Babel • – Location:http://download.eclipse.org/technolo • gy/babel/update-site/galileo • • 確定後,按[OK]

  9. 中文版Eclipse (Galileo版本) • 功能列[Help]->[Install New Software…] • • 選擇剛剛加入的location: Babel • • (等資料載入…) • • 勾選Babel language pack for eclipse in • Chinese (Traditional) • • 自動安裝後,重新啟動eclipse

  10. 啟動Eclipse • 雙擊eclipse.exe,應該看到如下畫面:

  11. Eclipse 工作目錄 • 啟動Eclipse時,必須告訴它工作目錄所在的位置。請將工作目錄設定於 C:\eclipse\workspace

  12. Tomcat Eclipse Plugin(外掛) • 下載點:http://www.eclipsetotale.com/tomcatPlugin/tomcatPluginV321.zip • 下載此檔:tomcatPluginV321.zip • 解壓縮於Eclipse的plugin目錄下即可。

  13. 配置tomcat外掛(1) • 解壓縮tomcat外掛之後,重新啟動Eclipse,開始整合tomcat與Eclipse IDE • 點選(視窗 => 喜好設定…) • 展開左邊的Tomcat選項,點選”JVM Setting…”。右邊中間欄要設定tools.jar用以編輯JSP。作法:按”Jar/Zip” =>展開到JDK安裝目錄下之lib目錄,選tools.jar檔,按ok。圖示如下:

  14. 配置tomcat外掛(1)

  15. 設定Tomcat • 接著剛剛的”喜好設定”,點選”Tomcat”。 • 選”Version 6.0” • 瀏覽至tomcat的安裝目錄(c:\jakarta-tomcat-6.0.24),圖示如下。按”確定”。

  16. Eclipse中啟動Tomcat 啟動

  17. Tomcat成功啟動結果 • 如果一切無誤,主控台會有下列的畫面結果:

More Related