一、安装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.