Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

.exe file doesn't exist #160

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 5 comments
Open

.exe file doesn't exist #160

GoogleCodeExporter opened this issue Mar 26, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

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
Copy link
Contributor Author

I got the same problem

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Contributor Author

Same problem!

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Contributor Author

same here.

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Contributor Author

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

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Contributor Author

thank you very much.its solved.

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

  • Added labels: ****
  • Removed labels: ****

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant