npm.io
1.0.7 • Published 8 years agoCLI

java-home

Licence
MIT
Version
1.0.7
Deps
1
Size
7 kB
Vulns
0
Weekly
0
Stars
1

java-home

NPM version build status node version npm download

detect JAVA_HOME path in any system

Installment

$ npm i java-home --save

Usage

var co = require('co');

var JAVA_HOME = require('../lib/java-home');

JAVA_HOME.getPath(function(error, javaHome) {
  if (error) {
    throw error;
  }
  console.log(javaHome);
});

Contributors


xudafeng


ziczhu

This project follows the git-contributor spec, auto upated at Fri May 18 2018 08:19:32 GMT+0800.

License

The MIT License (MIT)

Keywords