Thank you very much for the extra details and the steps you have seen reproduce the issue. Very helpful!
I attempted to install java into a new SDK skill (
Jibo -> New Project) and also received errors but different errors from the one that you saw.
In both cases it appears like the issue is likely caused by the Java platform in place locally.
I was able to clear up errors and successfully
npm install java without needing to do any rebuilding. I did this via the following steps that will hopefully clear things up for you as well:
I installed JDK 8u111 with NetBeans 8.2 seen here.
I created a new Jibo project as a test (
Jibo -> New Project)
I opened the the skill’s package.json file file and added
java to the dependencies as seen in the below image. If you do not specify a java version in your dependencies you will likely get errors.
The latest for that Java environment appears to be 0.8.0. I tested specifying both “0.8.0” in package.json and specifying “latest.” Both worked just fine:
cd'd into the top level of my skill and ran
npm install java or
npm install firstname.lastname@example.org again, both should work.
This installed java without throwing any errors in terminal.
If you continue to have difficulty or if you have any trouble using the module after installing it may have to do with java itself so I may be limited in the direction I can provide but I will provide any help that I can.
If you do continue to see trouble installing the module if you could please send a screenshot or copy/paste of the error you are getting in terminal.
Thank you again for your time!