check_java: Checks if Java is installed.

View source: R/check_java.R

check_javaR Documentation

Checks if Java is installed.

Description

This function checks to see if the JAVA_HOME environment variable is set. If not it will check to see if Java is installed on some platforms.

Usage

check_java()

Details

To install Java on Mac (assuming Homebrew is installed):

brew tap adoptopenjdk/openjdk
brew install --cask adoptopenjdk8

To install Java on Ubuntu run:

sudo apt-get install openjdk-8-jdk

Value

TRUE if JAVA_HOME is set.


jbryer/mldash documentation built on March 4, 2023, 9:35 p.m.