install eclipse in Ubuntu from command prompt
Requirement :
- install java and java jdk
- install eclipse from command prompt
- install java package
COMMON ERRORS pop’s up:
- binary file not found
- “make” path not found
steps :
1. install java
sudo apt update
- installation process begins….
sudo apt-get java version
- installation process begins…..
java -version
- following format statement appear , then good job!! your , java and java jdk has been installed successfully…..
→ to change the java version , follow below steps..
sudo update-alternatives — config java
→ enter the selection number
- to check your new java version, after modification, type these;
sudo java -version
→ java jdk installed (by default) by java installing process.
2. install eclipse from command prompt
- if existing version of eclipse is installed, then REMOVE , it by following command:
sudo rm -rf /opt/eclipse/
2. install eclipse , type the below command
sudo tar -xf eclipse-inst-jre-linux64.tar.gz -c /opt
3. after that , type below command,
cd /opt/eclipse-installer/
→then you, will enter in to the [cd /opt/eclipse-installer/] folder :
→ type the below command
sudo ./eclipse-inst
→ installation process begins ;
3. installed Eclipse packages window appears, let’s choose your favorite package IDE.
→for example, select the eclipse IDE for C/C++ Developers then click INSTALL
→now, you have to accept the ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT.
- now, your ECLIPSE IDE will be installing.
- After the installation has completed, ECLIPSE is ready to be launched.
4. COMMON ERRORS pop’s up:
- binary file not found
2. “make” path not found
→ to solve this error, “install the ‘make’ software package from command prompt”, please type below command:
sudo apt install make
→installation process begins
→ after that type , the below command
make -v
- finally program runs successfully , in eclipse