var java = require('java');var javaLangSystem = java.import('java.lang.System');
javaLangSystem.out.printlnSync('Hello World');C:\apps\node-v6.10.0-win-x86\node_modules\java>if not defined npm_config_node_gyp (node "C:\apps\node-v6.10.0-win-x86\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )Building the projects in this solution one at a time. To enable parallel build,please add the "/m" switch.Project file contains ToolsVersion="14.0". This toolset is unknown or missing.You may be able to resolve this by installing the appropriate .NET Framework for this toolset. Treating the project as if it had ToolsVersion="4.0".C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v140 to build using the v140 build tools. [C:\apps\node-v6.10.0-win-x86\node_modules\java\build\nodejavabridge_bindings.vcxproj]gyp ERR! build errorgyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1gyp ERR! stack at ChildProcess.onExit (C:\apps\node-v6.10.0-win-x86\node_modules\npm\node_modules\node-gyp\lib\build.js:276:23)gyp ERR! stack at emitTwo (events.js:106:13)gyp ERR! stack at ChildProcess.emit (events.js:191:7)gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)gyp ERR! System Windows_NT 6.1.7600gyp ERR! command "C:\\apps\\node-v6.10.0-win-x86\\node.exe" "C:\\apps\\node-v6.10.0-win-x86\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"gyp ERR! cwd C:\apps\node-v6.10.0-win-x86\node_modules\javagyp ERR! node -v v6.10.0gyp ERR! node-gyp -v v3.5.0gyp ERR! not oknpm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! ja...@0.8.0 install: `node-gyp rebuild`npm ERR! Exit status 1npm ERR!npm ERR! Failed at the ja...@0.8.0 install script 'node-gyp rebuild'.npm ERR! Make sure you have the latest version of node.js and npm installed.npm ERR! If you do, this is most likely a problem with the java package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! node-gyp rebuildnpm ERR! You can get information on how to open an issue for this project with:npm ERR! npm bugs javanpm ERR! Or if that isn't available, you can get their info via:npm ERR! npm owner ls javanpm ERR! There is likely additional logging output above.npm ERR! A complete log of this run can be found in:npm ERR! C:\Users\jl\AppData\Roaming\npm-cache\_logs\2017-03-16T22_22_08_148Z-debug.log