Skip to content

Running RamCloud client with java #20

@MheniMerz

Description

@MheniMerz

hi all,
i have a running RamCloud instance on one node,
im trying to start a java client that can read and write data, i've been following these instructions to build and run the java client.
but when running sudo ./gradlew run -Plocator=build/install/ramcloud/bin/ramcloud
i get the following error

Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/libramcloud_java759421568980880719.so: libramcloud.so: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
        at java.lang.Runtime.load0(Runtime.java:809)
        at java.lang.System.load(System.java:1086)
        at cz.adamh.utils.NativeUtils.loadLibraryFromJar(NativeUtils.java:116)
        at edu.stanford.ramcloud.Util.loadLibrary(Util.java:47)
        at edu.stanford.ramcloud.TestClient.<clinit>(TestClient.java:32)
:run FAILED

FAILURE: Build failed with an exception.

i tried running with the debug option and running ./runclient.sh i basically get the same output.
seems like it's looking for a ramcloud library file, but maybe it's looking in the wrong place ?
any one had this before ?
thanks.
Mheni.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions