Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Trouble locating com.daml.ledger.javaapi.dataForum ↗

Trouble locating com.daml.ledger.javaapi.data

App Development2 posts250 viewsLast activity Sep 2021
MA
MatsOP
Sep 2021

Dear Experts,
I am in the process of learning daml, but struggling to find the java api referenced in the documentation. The actual classes ( com.daml.ledger.javaapi.data) needed to integrate my java app with the ledger.

Many Thanks!

Mats

ST
stefanobaghino-da
Sep 2021

I’m not sure whether this answer your question, but to access our Java API you need to include it in your project. A widespread build tool/dependency manager for Java applications is Maven. The documentation suggests how to include our API in your Maven project (here for Daml Connect 1.16.0) by adding the following to your pom.xml:

<dependencies>
    <dependency>
        <groupId>com.daml.ledger</groupId>
        <artifactId>bindings-rxjava</artifactId>
        <version>1.16.0</version>
    </dependency>
</dependencies>

Our Java bindings are published regularly on Maven Central and you can use tools like Maven Repository to explore the available libraries.

Does this answer your question?

← Back to Discussions