eclipse - goClipse: internal error executing preparing launch. reason: java.lang.NullPointerException why? -


i'm trying install goclipse on ubuntu 14.04. i've installed java8 repository , downloaded eclipse mars 4.5.

i tried example code,in file called hello.go:

package main  import "fmt"  func main() { fmt.printf("hello, world\n") } 

but work terminal follow commands:

go run hello.go 

thankyou

the "main.go" needs inside sub directory inside src folder of project structure. go files directly under src folder ignored. suggest creating "mainprogram" directory under src , running there.


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -