Did you already installed the Java installation package on your system? If not, you can download it from here https://support.apple.com/kb/DL1572?locale=en_US. Then you can continue with the steps for Running Eclipse found in here https://software.intel.com/en-us/node/545143#running_eclipse.
Yes I did,but I forgot to mention that.
(eclipse shouldn't be able to run without a java runtime, right ?)
Currently I'm using JRE 1.8, here's the output from java -version:
java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)
I also have Java 1.6 and 1.7 on the system, but 1.8 is the default.
(Should I point eclipe's ini file to a different JVM ? Does it need a variable like JAVA_HOME or similar defined ? )
locate bin/java /Applications/Processing.app/Contents/PlugIns/jdk1.7.0_55.jdk/Contents/Home/jre/bin/java /Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/MacOS/itms/java/bin/java /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javac /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javadoc /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javafxpackager /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javah /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javap /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/javapackager /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/bin/java /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javac /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javadoc /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javah /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javap /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/javaws /System/Library/Java/Support/Deploy.bundle/Contents/Home/bin/javaws /usr/bin/java /usr/bin/javac /usr/bin/javadoc /usr/bin/javah /usr/bin/javap /usr/bin/javaws /usr/local/bin/java2py
After changing the -vm in eclipse to JRE 1.6 or JRE 1.7 already on my system, I get the exact same NullPointerException.
What should I check/try next ?
Thank you Pablo,
Unfortunately I haven't found a solution on OSX.
I did install the MCU SDK on Windows 8 and that seemed to work: I can create a new project.
I haven't uploaded it to the board yet to confirm if the rest of the (cygwin) shell scripts are working too (but I'm hoping they are).
Until Intel says otherwise, I will assume this release of the SDK is broken on OSX.
Did you connect your system and board to the same local network? Also, remember that for Linux and Mac OS X you must set the IP address of your system to 192.168.2.1 and the subnet mask to 255.255.255.0.
I have exactly the same problem in creating New MCU Project on Mac. Currently my Edison and Mac are connected to the same 192.168.1.x network, and I would rather not change the settings of the router.
Manually setting the Edison wlan0 to 192.168.2.15 and Mac to 192.168.2.1 does not solve the problem, since they are no longer connected to the router which is in 192.168.1.x space.
Is not there a way to avoid setting the system to 192.168.2.1 for instance by changing environment parameters of Eclipse?
I found that unzipping mcu_fw.zip in src folder somehow let me avoid the nullpointerexception error on MCU > New MCU Project.
The src/mcu_fw.zip file appears to be expanded upon creation of a new MCU project and included in each project folder as a base system.
In Windows version, there is a same mcu_fw.zip file in the same place and yet MCU > New MCU Project does not cause any error.
I am buffled.