xudafeng / java-home

detect JAVA_HOME path in any system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

detect JAVA_HOME path in any system


Languages

Language:JavaScript 100.0%