Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Intellij Setup SDK problem on Mac OSX #2879

Open
scheung38 opened this issue Mar 15, 2017 · 4 comments
Open

Intellij Setup SDK problem on Mac OSX #2879

scheung38 opened this issue Mar 15, 2017 · 4 comments

Comments

@scheung38
Copy link

scheung38 commented Mar 15, 2017

  • IDE name and version: Intellij CE

  • Java version: "1.8.0_121"

  • OS name and version: Mac Sierra

  • What are you trying to do?
    Start a new Go project in Intellij

  • What would you expect to happen?
    Setup SDK -> provided path of go installed via brew
    $ which go
    /usr/local/bin/go

  • What happens?
    Cannot find SDK

@dlsniper
Copy link
Member

Please reply to the following:

  • which plugin version
  • which IDE version
  • which Go version
  • where do you try to point the SDK to (which directory)

Thank you.

@m-gendi
Copy link

m-gendi commented Apr 10, 2017

Same issue, impossible to setup the go SDK.
I try to setup the SDK path and i don't get an error but i still have nothing to show
capture d ecran 2017-04-10 a 11 29 52
.

IntelliJ IDEA 2017.1
Build #IC-171.3780.107, built on March 22, 2017
JRE: 1.8.0_112-release-736-b13 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.4

Go version: 1.8.1

Tried to point the SDK to:

  • /usr/local/bin/go (not working)
  • /usr/local/Cellar/go/1.8.1/bin/go (not working)
  • /usr/local/Cellar/go/1.8.1/libexec/bin/go (not working)

@zolotov
Copy link
Contributor

zolotov commented Apr 10, 2017

All paths you listed point to go binary. Have you tried path to an actual GOROOT? E.g. /usr/local/Cellar/go/1.8.1/libexec or /usr/local/Cellar/go/1.8.1/

@m-gendi
Copy link

m-gendi commented Apr 10, 2017

It worked with /usr/local/opt/go/libexec thanks for the tip @zolotov!
I wanted to use a generic path so when I'm updating go i don't need to setup it again in IntelliJ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants