I got development environment installed according to http://developer.garmin.com/connect-iq/programmers-guide/getting-started/ and have also latest version of ConnectIQ installed (v1.2.6).
As soon as I create a new empty "Connect IQ Project" I get "Errors running builder 'Connect IQ Builder' on project 'PND Alerts'." error message as a result of NPE on at com.garmin.connectiq.ide.builder.NewHautnessIQBuilder.getJavaExecutablePath(NewHautnessIQBuilder.java:140). See in order to see what I'm doing exactly.
See also full exception stack trace attached: .
This error happens also with example projects provided by Garmin.
Here what I have installed on my computer:
- Systemversion: OS X 10.11.3 (15D21)
- Kernel-Version: Darwin 15.3.0
- eclipse.buildId=4.5.2.M20160212-1500
- java.version=1.8.0_74
- ConnectIQ SDK 1.2.6
"/usr/libexec/java_home --verbose" command has following output on my Mac:
Matching Java Virtual Machines (1):
1.8.0_74, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home
It's obvious, that SDK can't find Java executable but all other Java apps on this computer work without issues.
Can someone give me ideas on how to fix that?
Thanks!