Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

java-home

xudafeng5.8kMIT1.0.7

JAVA_HOME

JAVA_HOME

readme

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)