Giter Club home page Giter Club logo

Comments (5)

HashEngineering avatar HashEngineering commented on September 18, 2024

Could you post the logs?

I run the examples frequently for testing. While the x11 native libraries are not found, the example continues to run.

from dashj.

tofutim avatar tofutim commented on September 18, 2024

i'll get it in a bit, i suppose it is because the x11 native code is built by gradle. I wonder if there is a way to move that into the dashj lib.

from dashj.

tofutim avatar tofutim commented on September 18, 2024

you are right, it does run - I was just impatient:

/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java "-javaagent:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=55098:/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath /Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/lib/tools.jar:/Users/tim/gig8/dashj/examples/target/classes:/Users/tim/gig8/dashj/core/target/classes:/Users/tim/.m2/repository/com/madgag/spongycastle/core/1.51.0.0/core-1.51.0.0.jar:/Users/tim/.m2/repository/com/google/protobuf/protobuf-java/2.6.1/protobuf-java-2.6.1.jar:/Users/tim/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar:/Users/tim/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar:/Users/tim/.m2/repository/net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.jar:/Users/tim/.m2/repository/com/lambdaworks/scrypt/1.4.0/scrypt-1.4.0.jar:/Users/tim/.m2/repository/org/bitcoinj/orchid/1.2.1/orchid-1.2.1.jar:/Users/tim/.m2/repository/com/squareup/okhttp/okhttp/2.7.2/okhttp-2.7.2.jar:/Users/tim/.m2/repository/com/squareup/okio/okio/1.6.0/okio-1.6.0.jar:/Users/tim/.m2/repository/net/sf/jopt-simple/jopt-simple/4.3/jopt-simple-4.3.jar:/Users/tim/.m2/repository/org/slf4j/slf4j-jdk14/1.7.20/slf4j-jdk14-1.7.20.jar:/Users/tim/.m2/repository/com/h2database/h2/1.3.167/h2-1.3.167.jar:/Users/tim/.m2/repository/org/fusesource/leveldbjni/leveldbjni-all/1.8/leveldbjni-all-1.8.jar:/Users/tim/.m2/repository/org/slf4j/slf4j-api/1.7.20/slf4j-api-1.7.20.jar org.bitcoinj.examples.PrintPeers
=== DNS ===
12:58:49 1 X11.<clinit>: Loading x11 native library...
12:58:49 1 X11.<clinit>: Loading x11 failed: no x11 in java.library.path
12:58:59 1 MultiplexingDiscovery.getPeers: Seed dnsseed.dashpay.io: failed to look up: org.bitcoinj.net.discovery.PeerDiscoveryException: java.net.UnknownHostException: dnsseed.dashpay.io: nodename nor servname provided, or not known
12:58:59 1 MultiplexingDiscovery.getPeers: Seed dnsseed.dash.org: timed out
188.166.91.188:9999
2002:c125:98c9:0:0:0:c125:98c9:9999
176.9.156.236:9999
2001:0:5ef5:79fb:2439:7e
....

I'm trying to see if I can get the x11 native code into the dashj project so that everything is integrated.... or maybe the dashj libs could be made using gradle?

from dashj.

tofutim avatar tofutim commented on September 18, 2024

Never mind my ignorant comments, I see now that dashj is more general, and the x11 code specific.

Although, I wonder how to 'test' dash related functionality if the x11 is only in the Android code.

from dashj.

HashEngineering avatar HashEngineering commented on September 18, 2024

dashj has the code for native libraries, but building the library is not documented and won't install in the class path to be used. That would have to be done manually at this point.

The folder jni contains the source and the Android NDK is used to build it.

from dashj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.