how to install eclipse manually

4
Install Eclipse SDK 4.3.1 (Kepler) on Fedora 20/19, Cent S/!"E# $.%/%.10 U pdat ed by  JR  on D ec 2 , 2 0 13 i n  Cent O S , Featured ,  Fedora ,  ID Es and T ools ,  Linu x ,  M ost Popular , P r ogr am m i ng ,  Pr ogr am s ,  Red H at ( RH EL)  | 14 6c om m en ts D o yo u like t his? Object2 Object3 T h is i s g uide, ho w to i ns tal l latest Ecli pse S D K 4 . 3 . 1 ( K ep l er)  on Fedora , CentOS  and R ed H at ( R H EL) . This gui de sho uld w ork w i t h Fedora 2 0/ 1 9 / 1 8 / 1 7 / 1 6 / 1 5/ 1 4 /1 3 / 1 2 , C ent O S 6 . 5 / 6 . 4 / 6 . 3 /6. 2 /6.1 / 6/ 5 . 1 0 and R ed H at ( R H EL ) 6.5 / 6.4 / 6 . 3 / 6 . 2 / 6 . 1 / 6 / 5. 1 0and eve n w it h e arlier versi on s. E cl i p se  is a multi-l ang uag e so ft w ar e d evelo p m en t envir o nm ent com p rising an i n t eg rated devel op m ent envi ronm ent ( ID E)  andan ex tens ibl e p l ug -i n s ys tem. It i s w ri tt en p rim ari l y i n Java a ndcan be usedt o d evel o p ap p licati o ns in Java and , b y m ea ns of vari o us p l ug -ins , o ther l an g ua g es i nclud i ngC , C++ , COBOL , Python , Perl , PHP , Scal a  and R ub y ( includi ng Rub y o n R ails fr am ew or k) . Install E clipse S D K 4 . 3 .1 ( K ep ler) o n Fed o r a 2 0/ 1 9 / 18, Cent O S / Red Hat ( R H EL) 6. 5 / 5 . 1 0 1 . Install S un / Oracle Java JD K 7 Install S un/ O racle Java J D K7on Fedora, C ent O S , R ed Hat ( R H EL) 2 . D ow nlo ad E cli p se S D K 4 .3.1 (K ep ler) D o w nl o ad sui t able version from  w w w .ecli pse. org/ do w nloads . T hi s g ui d e use s Ecli p se C lassic 4 . 3 .1  ve rsio n. A no t he r p o p ul ar versi o ns are Ecli pse ID E fo r Java EE Devel o pe r s , Ecli pse I D Efor J ava Devel op ers  and E cli pse for PH P D evel op ers . S elect also3 2 -bi t  or 6 4-bi t  ver sionde pe nd i ng o n yo ur syst em. 3 . C hang e root user su - ## OR ## sudo -i 4. E xtr act E cli p se p ackag e (exam p le to / o p t d ir ectory) ## x86 - 32-bit ## tar -xvzf eclipse-standard-kepl er-R-linux-gtk.tar.gz -C /opt  ## x86_64 - 64-bit ## tar -xvzf eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz -C /opt 5 . A d d read p ermi ss i o ns to all files chmod -R +r /opt/eclipse 6 . Cr e ate Ecli p se executable o n / us r / b i n p ath touch /usr/bin/eclipse chmod !! /usr/bin/eclipse Object1 131

Upload: hugo-henrique

Post on 08-Feb-2018

232 views

Category:

Documents


0 download

TRANSCRIPT

7/22/2019 How to Install Eclipse Manually

http://slidepdf.com/reader/full/how-to-install-eclipse-manually 1/4

Install Eclipse SDK 4.3.1 (Kepler) on Fedora 20/19,CentS/!"E# $.%/%.10Updated by JR on Dec 2, 2013 in CentOS,Featured, Fedora, IDEs and Tools, Linux, Most

Popular,Programming, Programs, Red Hat (RHEL) |146 comments

Do you like this?

Object2

Object3

This is guide, howto install latestEclipse SDK 4.3.1

(Kepler) onFedora,CentOS andRed Hat (RHEL). This guide should work with Fedora

20/19/18/17/16/15/14/13/12, CentOS 6.5/6.4/6.3/6.2/6.1/6/5.10 and Red Hat

(RHEL) 6.5/6.4/6.3/6.2/6.1/6/5.10 and even with earlier versions.

Eclipse is a multi-language software development environment comprising anintegrated

development environment (IDE) and an extensible plug-in system. It is written

primarily in Java and can be used to develop applications in Java and, by means of various

plug-ins, other languages includingC,C++,COBOL,Python,Perl,PHP,Scala andRuby (including Ruby on Rails

framework).

Install Eclipse SDK 4.3.1 (Kepler) on Fedora 20/19/18,

CentOS/Red Hat (RHEL) 6.5/5.101. Install Sun/Oracle Java JDK 7

Install Sun/Oracle Java JDK 7 on Fedora, CentOS, Red Hat (RHEL)

2. Download Eclipse SDK 4.3.1 (Kepler)

Download suitable version from www.eclipse.org/downloads. This guide usesEclipse Classic 4.3.1 version. Another

popular versions areEclipse IDE for Java EE Developers,Eclipse IDE for Java Developers andEclipse for PHP

Developers. Select also32-bit or64-bit version depending on your system.

3. Change root usersu -

## OR ## sudo -i

4. Extract Eclipse package (example to /opt directory)## x86 - 32-bit ## 

tar -xvzf eclipse-standard-kepler-R-linux-gtk.tar.gz -C /opt

 ## x86_64 - 64-bit ## 

tar -xvzf eclipse-standard-kepler-R-linux-gtk-x86_64.tar.gz -C /opt

5. Add read permissions to all fileschmod -R +r /opt/eclipse

6. Create Eclipse executable on /usr/bin pathtouch /usr/bin/eclipse

chmod !! /usr/bin/eclipse

Object1

131

7/22/2019 How to Install Eclipse Manually

http://slidepdf.com/reader/full/how-to-install-eclipse-manually 2/4

  Take ownership on the whole directory: sudo chown -R

$USER:$USER

/opt/eclipse/configuration/org.eclipse.osgi

## Open eclipse file with your favourite editor ## 

nano -" /usr/bin/eclipse

 ## aste followin! content to file ## 

#"binsh

export #C$%&'#_()*#,/opt/eclipse,

 #C$%&'#_()*#/eclipse

7. Create Gnome desktop launcher## $reate followin! file% with our favourite editor ## 

/usr/sare/applications/eclipse.desktop ## &dd followin! content to file and save ## 

01esktop #ntr23

#ncoding5-8

7ae#clipse

Coent#clipse '19 4.:.;

#xececlipse

%con/opt/eclipse/icon.xp

5erinalfalse

52pe<pplication

Categories=7)*#><pplication>1evelopent>

'tartup7otif2true

8. Start Eclipse 4.3.1

From command line use eclipse commandeclipse

From Desktop menu Gnome 3 Eclipse 4.3.1

From Desktop menu Gnome 2 and Eclipse 3.6 (Helios)

7/22/2019 How to Install Eclipse Manually

http://slidepdf.com/reader/full/how-to-install-eclipse-manually 3/4

9. Eclipse 4.3 screenshot, running on Fedora 19 64-bit

TroubleshootingIf you get something like following errors:

Failed to load the JNI shared library /usr/java/jdk1.6.0_21/jre/bin/../lib/i386/client/libjvm.so

Or

 /usr/java/jdk1.6.0_21/jre/bin/../lib/i386/client/libjvm.so: cannot enable executable stack as shared object

requires: Permission denied

Then do following:ccon -t exece_exec_t ?/opt/eclipse/eclipse?

and try again.

7/22/2019 How to Install Eclipse Manually

http://slidepdf.com/reader/full/how-to-install-eclipse-manually 4/4