Skip to content

[ASTERIXDB-4010][*DB] Require Java 21 in sample cluster scripts - #64

Open
SamarthPD-21 wants to merge 1 commit into
apache:masterfrom
SamarthPD-21:ASTERIXDB-4010-java21-check
Open

SamarthPD-21 wants to merge 1 commit into
apache:masterfrom
SamarthPD-21:ASTERIXDB-4010-java21-check

Conversation

@SamarthPD-21

Copy link
Copy Markdown

JIRA: https://issues.apache.org/jira/browse/ASTERIXDB-4010

start-sample-cluster.sh and stop-sample-cluster.sh only rejected Java
older than 1.8, but the server needs 21. Reported by Suryaa in the
1.0.0 RC0 vote thread (point 4).

Testing:

  • JDK 17: both scripts exit with "JAVA_HOME must be at version 21 or
    later, but is: 17.0.2"
  • JDK 21: sample cluster starts, runs a query and stops normally

start-sample-cluster.sh and stop-sample-cluster.sh only rejected Java
versions older than 1.8, but the server needs Java 21. On JDK 17 the
start script went ahead, failed with UnsupportedClassVersionError and
printed a blank admin password.

Both scripts now refuse any Java version older than 21 and exit with
a clear message before starting anything.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant