This is a creation in
Article, where the information may have evolved or changed.
Try using this URL as a Eclipse software site:https://raw.githubusercontent.com/goclipse/goclipse.github.io/0.16.0/ releases/
It should allow you to install 0.16.0 (or a diff version if your change the URL)
Address: http://stackoverflow.com/questions/39228197/ How-install-older-goclipse-version-cannot-install-goclipse-16-1-on-eclipse-4-5
Say in front:
Bo Guide Let Me learn docker, look at the Docker source code, but also learn to learn the go language, want to first install the environment to try. Baidu on the internet for half a day to find an Eclipse plugin link, there is no one is successful, the blog is all copied others. The top one is the URL that is available. It still seems to need a strong Google. Friends who want to install plugins in Eclipse are easy to use.
Try using this URL as a Eclipse software site:https://raw.githubusercontent.com/goclipse/goclipse.github.io/0.16.0/ releases/It should allow you to install 0.16.0 (or a diff version if your change the URL) address: http://stackoverflow.co M/questions/39228197/how-install-older-goclipse-version-cannot-install-goclipse-16-1-on-eclipse-4-5
Installation steps:
- The steps are very simple
- The first step:
- Select Goclipse, you need to wait 5 minutes or so to complete the installation.
- Note that this method requires java8, if it is java7, it needs to be updated to Java8, or eclipse will alert you when it starts. Of course, can also use LITEIDEX30.2.MACOSX-QT5, is also a good compiler, light weight, easy to install.
Step Two: Configure Bash_profile
Note: The difference between Gopath and Goroot: Gopath is your working directory, and Goroot is the source of the Go Language installation directory.
The third step is to configure the Eclipse environment
1. Select Preferences
2. Configure the Goroot and working environment first.
3. Configure other configurations
The main first three need to press download to download. The last gofmt is in the Goroot directory.
come on, let's run an example:
Package Mainimport ( "FMT") Func main () { fmt. Println ("Hello World")}
Results
But the most important one, you must remember! Eclipse's working directory must be in: Gopath/src/yourproject, a lot of people if you do not notice, you will encounter "Resource doesn ' t has a corresponding GO package" error. As shown in the following:
-------------Original blog, reprint please indicate the source, email yusen.wu08@gmail.com-------Welcome Fq come to Exchange--------