Ed25519 Java Signature Implementation Help

Job ID: 38641256

Budget: $30 – $250 USD

I am trying to create a signature in a Java program using the Ed25519 curve as below:

Signature sig = Signature.getInstance("Ed25519");
System.out.println(" got signature instance:" + sig);

This prints out:

got signature instance: Signature object: Ed25519<not initialized>

I believe I am using the right name according to:
https://docs.oracle.com/en/java/javase/21/docs/specs/security/standard-names.html

I believe this is stopping me from creating a valid signature and signing the text. I am using the latest version of Java - 23.

I'm using Java's built-in security library for all my cryptographic operations.

I need help to understand what I am doing wrong.

I will pay up to $50 for the answer.