java-home

detect JAVA_HOME path in any system

Downloads
5K
Stars
1
Committers
2

java-home

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)