This tutorial will show two alternatives to install Gradle plugin on Eclipse Luna and newer versions.
On your Eclipse menu, go to Help -> Eclipse Marketplace…
On Search… tag, type gradle and press Enter. The search should return many options, but the plugin we want is Gradle IDE Pack, similarly to the image below. Click on Install:
Note: Some users prefer to install another distributions of the plugin (also shown on search result), but, many users couldn’t successfully install the plugin by unavailability errors, therefore, the steps described above appear to have a higher success rate.
This alternative is great for those that no matter what they tried, still not able to install the plugin due to the feared The following solutions are not available… error.
Let’s create a project to test the Gradle plugin we installed.
On your Eclipse, go to File -> New -> Other…
In the opened window, select Gradle Project as shown below:
Next, give a name to the project and select Java Quickstart as our Sample Project:
After you hit Finish, a project with the similar structure of the image will be created:
To finish the test, right click on your project and select Run As -> Junit Test to run the test automatically created by the wizard. You should see the success result of the test if everything went well:
If you are using the first alternative, then all you need is to follow these steps on your new Eclipse version.
But, if you are going to try the second alternative, which you need to know the Spring’s repository URL, follow this link to find the correct update site for you current Eclipse installation. Since we used Eclipse Luna 4.4 for this tutorial, we choose the update site for the version 4.4 of Eclipse on Spring’s page, and so on.
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…
View Comments
Thanks! This worked for me.