The German Presales Team @SAP is currently running some HANA Developer Days. When preparing the Hands-On classes we discussed on how to give the attendees all required tools at hand – preferred without any installation. Playing around in HANA studio config, I discovered a way on how to make HANA studio for Windows portable with these simple steps:

  • Install Java Runtime on any machine meeting the desired architecture (Win32,Win64), e.g. to Program FilesJavajre7
  • Install HANA Studio on the same machine, e.g. to Program FilesSAPhdbstudio
  • copy or move the Java Runtime to the HANA Studio folder, e.g. to Program FilesSAPhdbstudiojre
  • edit hdbstudio.ini, locate the -vm entry:
    -vm
    C:Program FilesJavajre7binjavaw.exe
  • change that entry to contain the relative path to the jre:
    -vm
    ./jre/bin/javaw.exe

Now you can copy the hdbstudio folder to a USB stick and launch it on every machine meeting the same architecture. If you need to install additional software into HANA Studio (e.g. the SAPUI5 Development Tool Kit or the HANA Cloud Tools), just do that. It will be persistet in the relative path aswell.
One thing to consider: launching hdbstudio and the jre from an USB device might be very slow, the same with copying a folder with thousands of thousands of files. To bypass this, we’ve zipped the folder and let the attendees copy the zipped folder to their machines to unzip and launch locally.

making HANA Studio portable
Markiert in:

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.