This tutorial will show how to install Eclipse Luna IDE on Windows and Ubuntu, and install Java web development plugins.
Go to Eclipse Downloads page to download the appropriate Eclipse IDE for Java Developers (32 ou 64 bits). Unzip the downloaded .zip file and run the eclipse.exe file. Create a shortcut for it.
Similarly to Windows installation, go to Eclipse Downloads page and download Eclipse IDE for Java Developers for your Ubuntu.
Go to the directory where you downloaded Eclipse file, usually, it resides on /home/username/Downloads. Unzip the downloaded file:
cd /home/bruno/Downloads sudo tar -xvf eclipse-java-luna-SR1a-linux-gtk-x86_64.tar.gz
A directory named eclipse will be extracted. Move it to /opt folder:
sudo mv eclipse /opt
Create a file named eclipse.desktop on /usr/share/applications directory:
sudo gedit /usr/share/applications/eclipse.desktop
When the above command if typed. the created file will be shown on text editor, then add the following lines:
[Desktop Entry] Name=Eclipse Luna Type=Application Exec=/opt/eclipse/eclipse Terminal=false Icon=/opt/eclipse/icon.xpm Comment=Integrated Development Environment NoDisplay=false Categories=Development;IDE; Name[en]=Eclipse
Save this file by clicking on File -> Save on text editor window.
By finishing the above steps, the Eclipse IDE can now be found by searching for installed programs:
Nowadays, the are several ways for installing plugins that assist Java web development, like installing WTP (Web Tools Platform) plugins, or by just downloading Eclipse IDE for Java EE Developer. However, the easiest and more consistent way to install those plugins that I’ve found after spent a few hours facing incompatibility problems, is the following proposed way, by using the Eclipse basic installation, instead of Eclipse EE.
We are going to install JBoss Tools plugin, which automatically add to Eclipse the most used plugins for web development, such as Git, servers support, editor for web languages such as HTML, CSS, and so on.
On your Eclipse menu, go to Help -> Eclipse Marketplace…
On Search… tag, type JBoss Tools and press Enter. The search should return the a JBoss Tools (Luna) 4.2.2.Final plugin, similarly to the image below:
Click on Install, accept the license agreement and proceed with the installation process until its conclusion. The wizard will also propose to restart Eclipse.
After Eclipse re-initialization, your Eclipse will be ready for Java web applications development.
Hope it helps. Cya!
This guide will show you how to create a Python function decorator with a few…
This guide will show you how to fix the error Got permission denied while trying…
This guide will show you how to create a Python virtual environment on Intellij IDEA…
This tutorial will quickly show you how to to find and kill processes on Linux,…
This guide shows a possible solution for Python error Relocation R_X86_64_PC32 against symbol can not…
I condensed below a cheat sheet of Kubernetes useful commands. I will keep updating this…