java-sdk icon indicating copy to clipboard operation
java-sdk copied to clipboard

Support Native compilation for the Java SDK

Open salaboy opened this issue 4 months ago • 4 comments

Expected Behavior

You should be able to do native compilation with GraalVM for the Java SDK code.

Actual Behavior

If your application includes the Java SDK, you cannot compile to native.

Steps to Reproduce the Problem

Create a simple application with Spring Boot or Quarkus and try to compile the application natively.

Release Note

RELEASE NOTE:

salaboy avatar Aug 19 '25 15:08 salaboy

@mcruzdev @ThomasVitale I've opened this one to refine when we know exactly where the issues with dependencies are.

salaboy avatar Aug 19 '25 15:08 salaboy

If you closed the other issue, can you add more of the details from the other issue to this issue? There seems to be more details in the other issue that are missing in this one

cicoyle avatar Aug 19 '25 16:08 cicoyle

All the info in the previous issue is misleading and out dated. We need to investigate further the issues with the current versions of the dependencies that we are using in the latest version of the sdk

salaboy avatar Aug 19 '25 18:08 salaboy

@salaboy I think testing a Quarkus application here might be a bit tricky, since the Dapr extension for Quarkus lives under quarkiverse/quarkus-dapr. That said, I totally agree that we should at least have a Spring application compiled in native mode.

mcruzdev avatar Sep 20 '25 20:09 mcruzdev