In a hands-on tutorial video the SAP HANA Academy’s Jamie Wiseman details how to set up an Eclipse IDE for Java development for the SAP HANA Cloud Platform.
A user must already be registered for a free developer edition account of SAP HANA Cloud Platform. For details about how to register for a free developer account please view this video from the SAP HANA Academy.
Setting Up a Local Eclipse IDE (0:15 – 1:20)
A user must have an SAP HANA Cloud Platform supported version of Eclipse. Currently the SAP HANA Cloud Platform toolset for Java development is available for both the Juno and Kepler releases of Eclipse. Please skip forward to the 2:17 mark in the video for the section on downloading the SAP HANA Cloud Platform SDK if you already have either version of Eclipse.
If Eclipse is not installed then the SAP HANA Academy recommends to install the Kepler release because it is the latest version of Eclipse. Kepler is also the version required by SAP HANA Studio.
Visit the Eclipse website and download Eclipse IDE for Java Enterprise Edition for Developers for your Operating System. Once the download is finished extract the archive to a local folder.
Installing the Necessary Eclipse Plug-Ins (1:20 – 2:17)
Now with a local Eclipse IDE set up a user needs to install the plug-ins required for development on the SAP HANA Cloud Platform.
With Eclipse open click on Help in the menu bar and select Install New Software… . Enter the appropriate URL for the version of Eclipse being used in the Works with box. Next select the box next to SAP HANA Cloud Platform tools and follow the simple steps of the installation wizard.
Note issues arise when installing the plug-ins check to ensure that you have the correct proxy settings in Eclipse. Fore more information on how to correctly set up a proxy visit the Installing SAP Development Tools for Eclipse section of the official documentation found online at help.hana.ondemand.com.
Downloading and Installing the SAP HANA Cloud Platform SDK (2:17 – 3:25)
The SAP HANA Cloud Platform SDK contains all of the artifacts necessary to set up a local development environment. The SDK also contains the console client which is used to interact with your SAP HANA Cloud account.
The SDK comes in two different versions. The number one branch provides a light rate runtime supporting some of the standard Java enterprise edition APIs. The number two branch provides support for the whole Java enterprise edition web profile APIs.
Download one of the SDK versions from here and extract the archive to a local folder. Make sure to familiarize yourself with the content of the SDK. Especially make note of the the location of the console client within the tool directory as well as the provided samples in the respective samples directory.
Configuring the SDK within Eclipse (3:25 – 4:32)
The SDK must be properly configured to ensure that the SAP HANA Cloud Platform runtime is properly set up and registered as a server adaptor within the Eclipse web tools platform.
In Eclipse click on Window in the menu bar and choose Preferences. Type in runtime in the search bar and then click on Runtime Environments under the Server node. Click the Add… button on the right, expand the SAP node, choose SAP HANA Cloud and click the Next button. Then click on the Browse… button and select the local directory of your local SDK installation. Next click on the OK button followed by the Finish button to complete the local runtime setup.
Check out Jamie’s video on setting up the Eclipse IDE that is necessary for developing with Java on the SAP HANA Cloud Platform.
View more tutorial videos about SAP HANA Cloud Platform at the SAP HANA Academy.
SAP HANA Academy – over 500 free tutorial technical videos on using SAP HANA.
SAP HANA Academy