Skip to content

[Bug] FullNode.jar rejects Java 17 on amd64 architecture #6895

Description

@NabiKAZ

Bug Description

FullNode.jar from the official release rejects Java 17 on x86_64 architecture with the error:

Java 1.8 is required for amd64 architecture. Detected version 17

According to the current java-tron documentation, JDK 8 or JDK 17 should be supported. However, the released FullNode binary appears to have a hard check that prevents running on Java 17.

The downloaded JAR was verified against the official SHA256 checksum.

Environment

Network
Mainnet

Software Versions
OS: Ubuntu 24.04 LTS (WSL2)
JVM: OpenJDK 17.0.19 amd64
Git Commit: N/A (official release JAR)
Version: GreatVoyage-v4.7.3.1 (Pyrrho)
Code: N/A

JAR Information

File: FullNode.jar
SHA256:
cae166bf9c980ebe16f8d0eea9381d80e2b7311a192d740942e90f5b88d9d424

Architecture:
uname -m output:
x86_64
Java version:
java --version output:
openjdk 17.0.19 2026-04-21
OpenJDK Runtime Environment (build 17.0.19+10-1-24.04.2-Ubuntu)
OpenJDK 64-Bit Server VM (build 17.0.19+10-1-24.04.2-Ubuntu, mixed mode, sharing)

Configuration

Running a standard FullNode configuration:
FullNode.jar -c config.conf
No custom code changes were made.

Expected Behavior

The FullNode should start successfully with Java 17 because JDK 17 is documented as supported for x86_64 systems.
Expected behavior:
Node starts normally and begins loading configuration and database.

Actual Behavior

The application exits immediately with:
Java 1.8 is required for amd64 architecture. Detected version 17
The error happens before loading the configuration file.

Frequency

  • Always (100%)
  • Frequently (>50%)
  • Sometimes (10-50%)
  • Rarely (<10%)

Steps to Reproduce

  1. Install Java 17 on Ubuntu 24.04 x86_64.
  2. Verify Java version:
    java --version
    Output:
    openjdk 17.0.19
  3. Download the official FullNode.jar release.
  4. Run:
    java -Xmx24g -Xms24g -jar FullNode.jar -c config.conf
  5. The following error appears:
    Java 1.8 is required for amd64 architecture. Detected version 17

Logs and Error Messages

Java 1.8 is required for amd64 architecture. Detected version 17

Additional Context (Optional)

The same binary runs with Java 8:
openjdk version "1.8.0_492"
OpenJDK 64-Bit Server VM
but fails with Java 17.

The issue seems to be related to the Java version detection logic inside the released JAR. The validation check may be outdated or inconsistent with the current documentation.

Possible Solution
Update the Java version validation logic to allow Java 17 for amd64 architecture, or update the documentation if Java 17 is not actually supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions