detect
JAVA_HOME
path in any system
$ npm i java-home --save
var co = require('co');
var JAVA_HOME = require('../lib/java-home');
JAVA_HOME.getPath(function(error, javaHome) {
if (error) {
throw error;
}
console.log(javaHome);
});
xudafeng | ziczhu |
---|
This project follows the git-contributor spec, auto upated at Fri May 18 2018 08:19:32 GMT+0800
.
The MIT License (MIT)