# java-home

> JAVA_HOME

Latest version **1.0.7** (published 2018-05-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install java-home
pnpm add java-home
yarn add java-home
bun add java-home
```

Provides the command `java-home`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.7 |
| Published | 2018-05-18 |
| First published | 2015-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | xudafeng, ziczhu |
| Keywords | JAVA_HOME |

## Links

- npm: https://www.npmjs.com/package/java-home
- Repository: https://github.com/xudafeng/java-home
- Homepage: https://github.com/xudafeng/java-home#readme
- Issues: https://github.com/xudafeng/java-home/issues
- npm.io page: https://npm.io/package/java-home

## Dependencies (1)

- [xutil](https://npm.io/package/xutil.md) ^1.0.2

## Recent versions

- 1.0.7 (latest) — 2018-05-18
- 1.0.6 — 2018-05-18
- 1.0.4 — 2016-12-09
- 1.0.3 — 2016-09-23
- 1.0.2 — 2016-04-07
- 1.0.1 — 2015-09-08
- 1.0.0 — 2015-08-06
- 0.5.0 — 2015-08-04
- 0.4.0 — 2015-08-04
- 0.3.0 — 2015-08-04
- 0.1.0 — 2015-08-04

## README

# java-home

[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![node version][node-image]][node-url]
[![npm download][download-image]][download-url]

[npm-image]: https://img.shields.io/npm/v/java-home.svg?style=flat-square
[npm-url]: https://npmjs.org/package/java-home
[travis-image]: https://img.shields.io/travis/macacajs/java-home.svg?style=flat-square
[travis-url]: https://travis-ci.org/macacajs/java-home
[node-image]: https://img.shields.io/badge/node.js-%3E=_8-green.svg?style=flat-square
[node-url]: http://nodejs.org/download/
[download-image]: https://img.shields.io/npm/dm/java-home.svg?style=flat-square
[download-url]: https://npmjs.org/package/java-home

> detect `JAVA_HOME` path in any system

## Installment

```bash
$ npm i java-home --save
```

## Usage

```javascript
var co = require('co');

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

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

<!-- GITCONTRIBUTOR_START -->

## Contributors

|[<img src="https://avatars1.githubusercontent.com/u/1011681?v=4" width="100px;"/><br/><sub><b>xudafeng</b></sub>](https://github.com/xudafeng)<br/>|[<img src="https://avatars1.githubusercontent.com/u/1044425?v=4" width="100px;"/><br/><sub><b>ziczhu</b></sub>](https://github.com/ziczhu)<br/>
| :---: | :---: |


This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto upated at `Fri May 18 2018 08:19:32 GMT+0800`.

<!-- GITCONTRIBUTOR_END -->

## License

The MIT License (MIT)

---
_Source: https://npm.io/package/java-home · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
