# Java Requirement Update for Web3Signer

**Date**: 2026-01-05  
**Reference**: [Web3Signer Installation Documentation](https://docs.web3signer.consensys.net/get-started/install-binaries)

---

## Important Discovery

According to the [official Web3Signer documentation](https://docs.web3signer.consensys.net/get-started/install-binaries), **Web3Signer requires Java 21 or later**.

Our previous installation used Java 17 JRE, which is **insufficient** for Web3Signer 25.12.0.

---

## Required Action

The Web3Signer container (VMID 107) needs Java 21 installed before Web3Signer can run properly.

### Update Java Version

```bash
ssh root@192.168.11.11

# Install Java 21 in container 107
pct exec 107 -- bash -c 'apt-get update && apt-get install -y openjdk-21-jre-headless'

# Verify Java version
pct exec 107 -- java -version
# Should show: openjdk version "21.x.x"
```

---

## Updated Installation Process

The installation script has been updated to include Java 21 installation. When you run the installation after downloading the Web3Signer binary, it will:

1. ✅ Install Java 21 (if not already installed)
2. ✅ Copy Web3Signer binary to container
3. ✅ Extract and configure Web3Signer
4. ✅ Start the service

### Installation Steps (Updated)

1. Download Web3Signer via browser (due to network SSL issues)
2. Transfer to Proxmox host: `scp web3signer-25.12.0.tar.gz root@192.168.11.11:/tmp/`
3. Run installation script:
   ```bash
   ssh root@192.168.11.11
   /tmp/web3signer-install-after-transfer.sh
   ```
   The script will automatically install Java 21 before installing Web3Signer.

---

## Documentation Reference

- [Web3Signer Installation Guide](https://docs.web3signer.consensys.net/get-started/install-binaries)
- Prerequisites: Java JDK 21 or later
- Our installation: Updated to use `openjdk-21-jre-headless`

---

## Status

- ✅ Installation script updated to include Java 21
- ✅ Script deployed to Proxmox host
- ⏳ Waiting for Web3Signer binary download and transfer
- ⏳ Java 21 will be installed automatically during installation
