Вы находитесь на странице: 1из 4

5/16/2015

DevelopyourSAPUI5applicationsinUbuntu|SCN

GettingStarted Newsletters

Hi,Guest

LogOn

JoinUs

Store

SearchtheCommunity

Products

Services&Support

AboutSCN

Downloads

Industries

Training&Education

Partnership

DeveloperCenter

Activity

LinesofBusiness

UniversityAlliances

Events&Webinars

Innovation

Browse

Communications

Actions

SAPUI5DeveloperCenter

DevelopyourSAPUI5applicationsinUbuntu
PostedbyAmolGuptainSAPUI5DeveloperCenteronMay15,20151:45:08PM
Share

Tweet

5 Like

Prerequisites
YoushouldhavealreadyinstalledandberunningUbuntu.YoumightbesurprisedtoknowyoucanrunUbuntufroma
USBdrive.Itwouldbeeasiertorelatetoallthetopicsifyoualreadymadea"HelloWorld"usingSAPUI5onEclipseon
Windowsalready.
Environment
ItesteditoutwithUbuntu12.04.Itshouldworkwithfurtherversionstoo.
Problem
WeareallusuallymorefamiliarwithrunningSAPUI5applicationsonWindowsandwishifwecouldrunitallon
Linux/UbuntubutmaynotbefamiliarwithhowtogoaboutitasLinuxscaresoffmostofus.

Solution
Bytheendofthisdocument,youwillberunningyourSAPUI5appsinEclipseinUbuntu.

STEP1:EclipseneedsJDK
GotoTerminal(Ctrl+Alt+T)andrunthefollowingcommand:
sudoaptgetinstallopenjdk7jdk

STEP2:Downloadlatest"EclipseIDEforJavaDevelopers"fromthebelowlink
EclipseDownloads

YoumaycheckoutyourOSType32bitor64bitbygoingtoSystemSettings>Details>
Overview

STEP3:ExtractEclipseto/opt/forglobaluse
GotoTerminal(Ctrl+Alt+T)andrunthefollowingcommand

cd/opt/&&sudotarzxvf~/Downloads/eclipse*.tar.gz

STEP4:CreatealaunchershortcutforEclipse
GotoTerminal(Ctrl+Alt+T)andrunthefollowingcommand:
gksudogedit/usr/share/applications/eclipse.desktop

Abovecommandwillcreateandopenthelauncherfileforeclipsewithgedittexteditor.
Pastebelowcontentintotheopenedfileandsaveit.

http://scn.sap.com/community/developercenter/frontend/blog/2015/05/15/makeyoursapui5applicationsinubuntu

1/4

5/16/2015

DevelopyourSAPUI5applicationsinUbuntu|SCN

[DesktopEntry]
Name=Eclipse4
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=IntegratedDevelopmentEnvironment
NoDisplay=false
Categories=DevelopmentIDE
Name[en]=Eclipse

FinallyopenEclipsefromUnityDashsearchresultsandlaunchit.
launcheclipseinubuntu14.04

STEP5:InstalltheSAPUI5pluginandstartdevelopingyourapps
(FollowtheusualdrillfortheEclipseUI5pluginelaboratedat:
environmentforSAPUI5.)

Howtoinstallabasicdevelopment

Gotoyoureclipseunder"HelpInstallNewSoftware...".PasteoneofthefollowingURLsinthe
"Workwith"inputfield,togetalistofavailabledownloadsoptions.Youcanfindalistofallupdate
siteURLsonthefollowingsite.
https://tools.hana.ondemand.com/lunaforEclipseLuna(4.4)
https://tools.hana.ondemand.com/keplerforEclipseKepler(4.3)

Selecttheentry"UIdevelopmenttoolkitforHTML5"andfinishthewizard.Restarteclipseafteryoucompletethe

installation.Thengoto"FileNewOthers"andtypeintheWizard"UI5"andsoon.

http://scn.sap.com/community/developercenter/frontend/blog/2015/05/15/makeyoursapui5applicationsinubuntu

2/4

5/16/2015

DevelopyourSAPUI5applicationsinUbuntu|SCN

STEP7:Enjoyyourappsrunning!

Anoteforthereaders
Pleasedoratethedocumentandletmeknowyourthoughtsaboutthecontent.Iwouldlovetoaccommodateyour
suggestions.Yourcommentsletmetrackmyworkandreflectuponmyfutureoutput.

Links

http://scn.sap.com/community/developercenter/frontend/blog/2015/05/15/makeyoursapui5applicationsinubuntu

3/4

5/16/2015

DevelopyourSAPUI5applicationsinUbuntu|SCN

DownloadUbuntu
EclipseDownloads
HowtoinstallabasicdevelopmentenvironmentforSAPUI5

Categories:SAPUI5,OpenUI5
233Views
Tags:user_interface,html5,odata,sapui5,sap_ui5,ui5,sapui5,frontendsapui5user_interfacejavascriptdeveloper_center,
openui5

AverageUserRating
(1rating)

Share

Tweet

5 Like

0Comments
Therearenocommentsonthispost

SiteIndex
Privacy

ContactUs
TermsofUse

SAPHelpPortal
LegalDisclosure

Copyright

http://scn.sap.com/community/developercenter/frontend/blog/2015/05/15/makeyoursapui5applicationsinubuntu

FollowSCN

4/4