Skip to Content
Author's profile photo Aydin Tekin

How to run SAP WebIDE Personal Edition on Linux

The disappointment

Since I sometimes want to hack on my UI5-Applications when I am on road without an internet connection, SAP WebIDE Personal Edition is a nice solution for me.

Unfortunately SAP does only deliver packages for Windows and Mac, but not for Linux. When there is a Mac-Package there is a way for a Linux-Package I thought.

So I downloaded the Mac and Windows Versions and compared them. Beside of some system-specific executeables, all work is done by the Orion Application Server.

After a bit of googling the good message of the day:

*YAY* a linux version is supported. Let’s rebuild the package with the linux binaries!

 

Repackaging

There are a few easy steps to do (Well I spent some time to figure it out), first of all download these archives:

Unzip both archives to different folders

  • ./webide/ for the WebIDE
  • ./orion/ for Eclipse Orion

The most important file is the orion executeable. You will need to get the original linux executable orion-file in your webide folder, therefore copy ./orion/orion to ./webide/orion.

Starting orion will not work, it will complain about a windows runtime it can not launch. So we also need to edit ./webide/orion.ini to look like this:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20140603-1326
-consoleLog
-console
-data
serverworkspace
-nosplash
-vmargs
-Dorg.eclipse.equinox.http.jetty.http.port=8080
-Dorg.eclipse.equinox.http.jetty.autostart=false
-Dorion.XSRFPreventionFilterEnabled=true
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx384m

Now the file should know the library to launch, but this time it will complain about not finding it. Why?

We have to copy all the files from ./orion/plugins to ./webide/plugins and replace the existing ones.

The directory should look like this:

Like you might see: the library should now be present. Lets start ./orion and voilá:

 

Disclaimer

I couldn’t test all functionalities, but the basic editing, syntax-highlighting works as intended.

Assigned Tags

      13 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Moya Watson
      Moya Watson

      Wow Aydin - neat trick! And it really works??

      Thanks for taking the time to share this.

      Author's profile photo Emmanuel Dacosta
      Emmanuel Dacosta

      Good Job.

      It will be good if SAP will create a linux version for the personal edition.

      And it is possible because SAP has created a Web Ide for sap hana.

      SAP HANA 2.0 SPS 01 - SAP Web IDE for SAP HANA small project

       

      Emmanuel

      Author's profile photo Former Member
      Former Member

      really good job, Keep the work up ,nice steps on how to run sap webide personal edition on linux.forl aol isssues you can contact us at aol contact  number

      Author's profile photo Former Member
      Former Member

      Merhaba Aydın Bey dediğiniz şekilde suse linux üzerinde orion (webide ile birleştirilerek) ve gitlab kurulumunu gerçekleştirdim. Gitlabı https üzerinden, orionuda(webideli) http üzerinden yayınlayacak şekilde problemsiz hallettim. Gitlabın admin olarak kulllanıcıların yönetilmesinde de problem çıkmadı. Kullanıcılar Geliştirdikleri kodalarını server üzerine de atabiliyorlar.

      Gelelim tek sıkıntıma. Orion da herkes kullanıcı açıp login olabiliyor. Bunu engellemek için config.orion dosyasına

      orion.auth.user.creation=admin
      orion.auth.admin.default.password=A12345678

       

      bu iki parametreyi de eklediğim halde yine kullanıcılar istedikleri şekilde kafalarına göre kullanıcı oluşturabiliyorlar. Bunu nasıl engelleyebiliriz. Bir de admin olarak login oldugum halde bir admin panel gibi bir ekran yok. Acaba kullanıcı yönetimi orion da yok mudur? Yardımlarınız için şimdiden Teşekkürler.

       

      Author's profile photo Aydin Tekin
      Aydin Tekin
      Blog Post Author

      Orion is only the application server of the WebIDE - if you want to configure the usermanagement you will have to do it on the WebIDE-side.

      I am not sure if the personal edition of the WebIDE has an active usermanagement you can configure - i guess it is not included.

      But you may look into the official documentation - maybe there is a way to achieve that.

      Regards, Aydin Tekin

      Author's profile photo Austin Kloske
      Austin Kloske

      Eclipse Orion V8.0 does not seem to be available via https://download.eclipse.org/orion/

      V10.0 - V20.0 are available on their current release page. V0.2 - V6.0 are available in the archives.

      Why did you choose to go with V8.0 and do you have any suggestion on which over releases might work?

      Author's profile photo Aydin Tekin
      Aydin Tekin
      Blog Post Author

      Hello Austin,

      seems like they removed the file in the meanwhile.

      At the time I wrote the blog, Orion 8 was the base platform for WebIDE. I am not sure which version of Orion is used in the most recent version of WebIDE. You might look that up the version of orion libraries in the WebIDE archive.

      Since we moved to HANA 2.0 with Cloud Foundry, I use a custom MS Visual Code setup instead of WebIDE, since it is much more responsive and stable than WebIDE is. You might look into that kind of unix-friendly setup too 😉

      Kind Regards,
      Aydin

      Author's profile photo Norman Vasquez
      Norman Vasquez

      Hi Aydin Tekin,

      thanks for sharing your knowledge, now maybe you can share us a blog of how you work with Visual Studio Code.

      Author's profile photo yang sen
      yang sen

      it can be installed , but there are still some problems.  it always prompts: connection timeout,

      do anybody know about it?

      My WEB IDE URL: http:www.ut163.com:8081/webide/index.html

      Author's profile photo yang sen
      yang sen

      runing error:connection timeout,

      Author's profile photo yang sen
      yang sen

      I have successfully installed. This is my installation program.

      Download :       http://www.ut163.com/download/tools/20200523_web_ide_linux.zip

      Full description:https://www.ut163.com/sapui5-learning/web-ide-development/sapui5-installation/installation_of_sap_web_ide_on_linux/

      My SAP WEB IDE for linux url:http://www.ut163.com:8081/webide/index.html

      Author's profile photo Sarath S Menon
      Sarath S Menon

      Thanks a lot for these steps!
      I was surprised to see that there's no docker image available for webide.

      I have prepared one and it is available here

      Or just run

      docker run -d -p 8080:8080 --rm sarathm09/sap-webide

       

      Author's profile photo Jigang Zhang 张吉刚
      Jigang Zhang 张吉刚

      Sarath S Menon

      Thanks for sharing this Docker, not quite familiar with the Docker command. I got the below error for bulid after pulling successfully.
      But can see this new download at the docker container and also can run with:
      docker run -d -p 8080:8080 --rm sarathm09/sap-webide
      I can log on webIDE but get 'ERR_CONNECTION_REFUSED' for one simple test.  is this caused by missing build step?
      thanks