# javapathfinder

> A module to find the path that java is installed on

Latest version **1.2.2** (published 2016-01-05) · 0 weekly downloads

## Install

```sh
npm install javapathfinder
pnpm add javapathfinder
yarn add javapathfinder
bun add javapathfinder
```

## 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.2.2 |
| Published | 2016-01-05 |
| First published | 2015-12-25 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Deniz Can Çalışkan |
| Maintainers | denizcanc |

## Links

- npm: https://www.npmjs.com/package/javapathfinder
- npm.io page: https://npm.io/package/javapathfinder

## Recent versions

- 1.2.2 (latest) — 2016-01-05
- 1.2.1 — 2016-01-04
- 1.2.0 — 2016-01-04
- 1.1.0 — 2015-12-28
- 1.0.0 — 2015-12-25

## README

# Java-Installed-Path-Finder

This Node.js tool is used to obtain the path of the java.exe file if the desired version of Java is installed on Windows,Linux or MacOS.

#How to Use it?

javapath.js file needs to be implemented in order to use the module.

this module has a findJavaPath module which has arguments of "version"(input) and a callback function.

Sample code can be found below, which searches for installed path of Java version 1.8: (Also in the initializer.js file)

		var init = require('javapathfinder');
		init = init.findJavaPath("1.8", function(err,data){
		  if(err!=null){
		    console.log(err);
		  }
		  else{
		    console.log(data);
		  }
		});

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