
A minimal set of prerequisites must be installed on our developer machine to build applications using the SAP Cloud SDK.
Such tools are already installed within SAP Business Application Studio, nevertheless they need to be installed if you want to work with a local environment running on your laptop (i.e. Visual Studio Code).
The first thing that we need is the Java Development Kit (JDK). The JDK is necessary for compiling Java applications and allows us to run Java applications locally. If you want to run your programs in the Cloud Foundry environment of SAP BTP, various Java versions are possible (default is version 8), for details, have a look at the documentation of the SAP Java Buildpack.
Next, we require Apache Maven version 3.5 or above. Maven is a build automation tool for Java projects and other programming environments. Maven manages project structures, dependencies to other libraries, and the build lifecycle of a Java project. Moreover, Maven is able to generate projects using "archetypes," which are provided by the SAP Cloud SDK.
In addition to Maven, we set up Git as the distributed version control system. A version control system like Git is a key component for realizing continuous delivery and DevOps. For instance, Git enables collaboration in development teams and forms the basis for any continuous delivery pipeline.
We also need a few additional tools as we go beyond the local development and testing stages. In particular, we need the Cloud Foundry command line interface (CLI). The Cloud Foundry CLI enables us to interact with Cloud Foundry from the command line. Using this tool, we can deploy, start and stop applications, consume services, and do much more, using simple commands on our local command line. In principle, we can perform many of these tasks also with the SAP Business Technology Platform (BTP) cockpit. However, for automating tasks, Cloud Foundry CLI is a crucial tool.
Finally, we can set up an integrated development environment (IDE). While using an IDE instead of a simple text editor to write code is entirely optional, an IDE greatly simplifies the development lifecycle. The SAP Cloud SDK does not make any assumptions about the IDE that should be used. This means that we are free to choose any IDE that we like, for example, IntelliJ IDEA or Visual Studio Code, or Eclipse. These tools are useful in any Java-based development project, whether you are using the SAP Cloud SDK or not.