Socket
Book a DemoInstallSign in
Socket

java-download

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

java-download

Downloads a JVM release archive from Oracle

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
4
Maintainers
1
Weekly downloads
 
Created
Source

java-download

downloads a Java JVM release package from Oracle

just electron-download by modified to get java.

This is mostly a mashup of electron-download and Java-JRE-JDK-Downloader

usage

$ npm install --global java-download
$ java-download --version=8 --type=jre
$ javadl --version=8 --type=jre --platform=linux
var download = require('java-download')

download({
  version: 8,
  arch: 'x64',
  platform: 'windows',
  cache: './zips' // defaults to <user home directory>/.java
}, function (err, path) {
  // path will be the path of the file that it downloaded.
  // if the file was already cached it will skip
  // downloading and call the cb with the cached file path
  // if it wasn't cached it will download the file and save
  // it in the cache path
})

Keywords

java

FAQs

Package last updated on 08 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts