Hi,allI am curious about how to know that ipfs daemon is running in java code?is there any interface availble in java-API?
As a basic health check you can fetch a list of swarm peers (Swarm#peers() or http://localhost:5001/api/v0/swarm/peers)
User-friendly reference for HTTP API : http://docs.ipfs.apiary.io
you can see that : https://github.com/ipfs/java-ipfs-api
When you create an instance using the the java api that @josselinchevalay linked to, e.g.new IPFS("/ip4/127.0.0.1/tcp/5001");it will try and contact the ipfs daemon to verify the version is supported. If it can't reach it, then an exception is thrown.
tnx a lot bro,got it
tnx, it is very useable