HyJavaImages chrome-headless-shell Installer

The installer will download the chrome-headless-shell 132.0.6834.83 binary for your platform from google chrome labs and then install it.

For Linux based systems, due to the dependencies required, you should first install Chrome on your system.

If you have any questions on the installer, please contact our Support Team using the support app HyJavaSupport.

Note: For users that wish to download and install manually, see OptionalManualInstall-doc.html.

Installer

Copy the chrome-headless-installer-2.0.0.jar to a directory on your system and run it as specified below.

The default install directory can be changed with the -d directory argument. -h for help.

The installer needs java 8 or greater.

Linux

To install: sudo java -jar chrome-headless-installer-2.0.0.jar

The default installation directory is /opt/hyjavaimages/

Windows

To install: java -jar chrome-headless-installer-2.0.0.jar

The default installation directory is \hyjavaimages\

MacOS

To install: java -jar chrome-headless-installer-2.0.0.jar

The default installation directory is /Users/Shared/hyjavaimages/

HyJavaImages Library

The HyJavaImages library v1.9.0 and newer will look in the above locations for the chrome-headless-shell binary first, it will then look in the standard Chrome binary locations.

Note: If you change the default install directory, or have an earlier version of the HyJavaImages library, you will need to specify the chrome-headless-shell binary location with the Chrome class setChromeBinaryPath() method.

Debian-based Linux Distributions

If your Debian-based Linux distribution disables unprivileged user namespaces with AppArmor, you may see a startup error "No usable sandbox! Update your kernel..." when using the chrome-headless-shell binary.

Note this is the default for Ubuntu 23.10+ systems.

This can be resolved by creating an AppArmor profile for chrome-headless-shell. An example profile "hyjavaimages" is included in the download. An alternative is to start chrome-headless-shell with the --no-sandbox Chrome argument.


The HyJavaCharts Team.

hyjavacharts.com