quan-xie / goclipse

Automatically exported from code.google.com/p/goclipse
0 stars 0 forks source link

.exe file doesn't exist #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install latest java version 1.8.0_11 64 bits
2. Install latest Eclipse version Luna Release (4.4.0) 64 bits
3. Download and/or install go files go1.3.1.windows-amd64.zip or 
go1.3.1.windows-amd64.msi 64 bits
4. Copy/install the files on C:\go
5. Install goclipse into the new "installed" eclipse.
6. Create a go project, add a go file to the src folder of the project.
7. Try to run it and get the error "Path\helloworld.exe" doesn't exist.

What is the expected output? What do you see instead?
To display anything but the error.

What version of the product are you using? On what operating system?
Latest version specified above on Windows 8.1 Pro 64 bits

Please provide any additional information below.
I have configured the eclipse preferences for go.
GOROOT: C:\go
GOPATH C:\go\bin
GOOS: windows
GOARCH: amd64
Go tool path: C:\go\bin\go.exe
Go formatter: C:\go\bin\gofmt.exe
Go documentor: C:\go\bin\godoc.exe

Have restarted, reinstalled and I keep getting the same error.
I have tried installing all the same tools for a 32 bit version with the same 
results.

Any suggestions tips would be appreciated.

Running the go commnand on the CMD works, it runs the go files.

Original issue reported on code.google.com by bbeck...@gmail.com on 14 Aug 2014 at 1:40

GoogleCodeExporter commented 9 years ago
I got the same problem

Original comment by lanke.w...@gmail.com on 27 Sep 2014 at 7:14

GoogleCodeExporter commented 9 years ago
Same problem!

Original comment by marcus.v...@gmail.com on 12 Nov 2014 at 11:09

GoogleCodeExporter commented 9 years ago
same here.

Original comment by sreehari...@gmail.com on 17 Dec 2014 at 3:15

GoogleCodeExporter commented 9 years ago
I found the solution to this issue some time ago, I thought I have already 
posted it here. But looks like I didn't.

Well here it is.

First of all everything should be on the package main for it to run, with this 
I am refering the package you put at the beginning of your go code.

Second, (this one I can't remember if it's also needed) you need to create all 
go files (if you are using eclipse plugin) inside the source or src folder from 
your go project.

Hope this works for you, if not let me know here and I will re-install all the 
stuff to help out.

Happy coding!

Original comment by bbeck...@gmail.com on 17 Dec 2014 at 8:19

GoogleCodeExporter commented 9 years ago
thank you very much.its solved.

Original comment by sreehari...@gmail.com on 21 Dec 2014 at 6:57