一、安裝JAVA Runtime環境
要求:JRE version 1.6 or higher, 32-Bit or 64-Bit
下載地址:http://www.java.com/en/download/manual.jsp
記得進行環境變量的配置: 計算機→屬性→高級系統設置→高級→環境變量
系統變量→新建 JAVA_HOME 變量 。
系統變量→尋找 Path 變量→編輯,在變量值最後輸入 %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
系統變量→新建 CLASSPATH 變量,變量值填寫 .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar(注意最前面有一點)
檢驗是否配置成功 運行cmd 輸入 java -version ,若顯示版本信息,則說明安裝和配置成功。
二、下載Eclipse
要求:Eclipse Platform Kepler (4.3)
下載地址:http://www.eclipse.org/downloads/packages/eclipse-standard-432/keplersr2
To install some or all of the Eclipse tools, get an installation compatible with the desired tools and use the respective software site URL in the Help > Install New Software wizard. Based on the version of your eclipse:
- For Eclipse 2019-06 (4.12), use https://tools.hana.ondemand.com/2019-06
- For Eclipse 2019-03 (4.11), use https://tools.hana.ondemand.com/2019-03
- For Eclipse Oxygen (4.7), use https://tools.hana.ondemand.com/oxygen
三、安裝SAPUI5組件
1、運行Eclipse,選擇菜單工具欄Help->Install New Software...
2、在安裝界面上,Work with字段輸入更新URL地址:http://tools.hana.ondemand.com/kepler (或https://tools.hana.ondemand.com/kepler)
3、點擊回車,顯示可用的組件,並勾選可用組件
- UI Development Toolkit for HTML5,
- ABAP Development Tools for SAP NetWeaver
4、在Next之後出現的安裝指導界面,可以看到即將安裝的組件概況清單,我們接着點擊Next進行安裝
5、同意license agreement,然後點擊Finish進行安裝
以上安裝完成之後,就可以進行SAPUI5的開發。
參考鏈接:https://tools.hana.ondemand.com/
Procedure
To install SAPUI5 tools, proceed as follows:
- In Eclipse, choose in the menu bar Help > Install New Software...
- In the Install dialog, enter the update site URL
https://tools.hana.ondemand.com/2019-06 for Eclipse 2019-06
https://tools.hana.ondemand.com/2019-03 for Eclipse 2019-03
in the Work with entry field. - Press Enter to display the available features.
- Select the desired features under UI Development Toolkit for HTML5 and choose Next.
- On the next wizard page, you get an overview of the features to be installed. Choose Next.
- Confirm the license agreements and choose Finish to start the installation.