HyJavaImages chrome-headless-shell Manual Install Steps

If you do not wish to use the HyJavaImages chrome-headless-shell Installer, these are manual steps to download and unzip the chrome-headless-shell 132.0.6834.83 binary from google chrome labs for your platform.

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

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

For users that wish to use the HyJavaImages chrome-headless-shell installer, see ChromeHeadlessInstaller-doc.html.

Linux

wget https://storage.googleapis.com/chrome-for-testing-public/132.0.6834.83/linux64/chrome-headless-shell-linux64.zip

sudo unzip chrome-headless-shell-linux64.zip -d /opt/hyjavaimages/

Windows 32 (using Powershell)

wget https://storage.googleapis.com/chrome-for-testing-public/132.0.6834.83/win32/chrome-headless-shell-win32.zip -OutFile chrome-headless-shell-win32.zip

Expand-Archive chrome-headless-shell-win32.zip -DestinationPath C:\hyjavaimages\

Windows 64 (using Powershell)

wget https://storage.googleapis.com/chrome-for-testing-public/132.0.6834.83/win64/chrome-headless-shell-win64.zip -OutFile chrome-headless-shell-win64.zip

Expand-Archive chrome-headless-shell-win64.zip -DestinationPath C:\hyjavaimages\

MacOS (mac-x64)

curl -o chrome-headless-shell-mac-x64.zip https://storage.googleapis.com/chrome-for-testing-public/132.0.6834.83/mac-x64/chrome-headless-shell-mac-x64.zip

unzip chrome-headless-shell-mac-x64.zip -d /Users/Shared/hyjavaimages/

MacOS (mac-arm64)

curl -o chrome-headless-shell-mac-arm64.zip https://storage.googleapis.com/chrome-for-testing-public/132.0.6834.83/mac-arm64/chrome-headless-shell-mac-arm64.zip

unzip chrome-headless-shell-mac-arm64.zip -d /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